Rewire odp package dependencies #260
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip pip-tools | |
pip-sync | |
- name: Set up testing environment | |
working-directory: ./test | |
shell: bash | |
run: | | |
cp .env.test .env | |
docker-compose up -d | |
sleep 30s | |
- name: Run the tests | |
working-directory: ./test | |
run: | | |
coverage run -m pytest | |
coverage xml | |
- name: Upload coverage | |
uses: codecov/codecov-action@v2 |