Skip to content

Bump cryptography from 41.0.4 to 42.0.0 #287

Bump cryptography from 41.0.4 to 42.0.0

Bump cryptography from 41.0.4 to 42.0.0 #287

Workflow file for this run

name: run-tests
on:
push:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8']
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Extract test files
run: ./.github/scripts/extract_files.sh
env:
FILES_PASSPHRASE: ${{ secrets.FILES_PASSPHRASE }}
- name: Install dependencies
run: poetry install -E mupdf
- name: Test with pytest
run: poetry run pytest
env:
BAD_CAS_FILE: ${{ secrets.BAD_CAS_FILE }}
CAMS_CAS_FILE: ${{ secrets.CAMS_CAS_FILE }}
CAMS_CAS_FILE_NEW: ${{ secrets.CAMS_CAS_FILE_NEW }}
CAMS_CAS_SUMMARY: ${{ secrets.CAMS_CAS_SUMMARY }}
KFINTECH_CAS_SUMMARY: ${{ secrets.KFINTECH_CAS_SUMMARY }}
CAMS_CAS_PASSWORD: ${{ secrets.CAMS_CAS_PASSWORD }}
KFINTECH_CAS_FILE: ${{ secrets.KFINTECH_CAS_FILE }}
KFINTECH_CAS_FILE_NEW: ${{ secrets.KFINTECH_CAS_FILE_NEW }}
KFINTECH_CAS_PASSWORD: ${{ secrets.KFINTECH_CAS_PASSWORD }}
- name: Upload coverage report to codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml