(#25) Add a Django sample app #164
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: coverage | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
run_unit_tests: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- run: docker compose -f ./docker-compose.yml up --detach redis | |
- run: docker compose -f ./docker-compose.yml up --detach db | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10.x" | |
- run: source ./activate.sh | |
- run: pip install --upgrade pip | |
- run: pip install -e .[dev] | |
- run: pip freeze | |
- run: ./test.sh | |
- uses: codecov/[email protected] |