chore: create a division of install packages with poetry dev vs prod #127
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: Django CI Nau Financial Manager | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Poetry | |
run: make install-poetry install-packages | |
- name: Run Django tests | |
run: make test | |
- name: Run Django tests on Mysql | |
run: make run-database && sleep 30 && make test-mysql |