Bump cryptography from 41.0.2 to 41.0.3 in /requirements #749
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: Tests | |
on: | |
push: | |
pull_request: | |
pull_request_target: | |
jobs: | |
tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest ] | |
python-version: [ "3.8", "3.9", "3.10", "3.11" ] | |
django-version: [ "3.2.19", "4.1.9", "4.2.2" ] | |
cryptography-version: [ "40.0.2", "41.0.1" ] | |
env: | |
DJANGO_CA_SECRET_KEY: dummy | |
name: Python ${{ matrix.python-version }}, Django ${{ matrix.django-version }}, cryptography ${{ matrix.cryptography-version }} | |
steps: | |
- name: Acquire sources | |
uses: actions/[email protected] | |
- name: Setup Python | |
uses: actions/[email protected] | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Apply caching of dependencies | |
uses: actions/[email protected] | |
with: | |
path: ~/.cache/pip | |
key: os=${{ matrix.os }}-python=${{ matrix.python-version }}-pip-${{ hashFiles('**/requirements-*.txt') }} | |
- name: Install dependencies | |
run: | | |
echo "cryptography==${{ matrix.cryptography-version }}" > constraints.txt | |
echo "django==${{ matrix.django-version }}" >> constraints.txt | |
pip install -U pip setuptools wheel | |
pip install -c constraints.txt -r requirements.txt -r requirements/requirements-test.txt -r requirements/requirements-docs.txt | |
- name: Install program | |
run: pip install -e . | |
- name: Run tests | |
run: | | |
python dev.py init-demo | |
python dev.py coverage --format=text |