chore: Upgrade Python requirements #157
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: Python CI | |
on: | |
pull_request: {} | |
workflow_dispatch: {} | |
push: | |
branches: [master] | |
concurrency: | |
group: "${{ github.workflow }}-${{ github.ref }}" | |
cancel-in-progress: true | |
jobs: | |
run_tests: | |
name: tests | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
python-version: ['3.8'] | |
toxenv: [py38-django32, py38-django42, quality, package] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install pip | |
run: make piptools | |
- name: Install Dependencies | |
run: pip-sync requirements/ci.txt | |
- name: Run Tests | |
env: | |
TOXENV: ${{ matrix.toxenv }} | |
run: tox |