chore(deps-dev): bump cryptography from 42.0.0 to 42.0.2 #362
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 | |
# Test on all pushes, except when the push is literally just a tag (because we | |
# tag automatically via CI, and therefore there's no extra code in that push). | |
# Also, only test on pull requests into master/dev. | |
on: | |
push: | |
tags-ignore: | |
- 'v*' | |
pull_request: | |
branches: | |
- 'master' | |
- 'dev' | |
jobs: | |
tests: | |
if: "!contains(github.event.pull_request.labels.*.name, 'auto-pr')" | |
env: | |
ENV_NAME: tests | |
PYTHON: ${{ matrix.python-version }} | |
OS: ${{ matrix.os }} | |
name: Testing | |
# needs: [linter] | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
python-version: [3.8, 3.9, "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@master | |
with: | |
fetch-depth: 1 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Setup GNU Fortran | |
uses: modflowpy/[email protected] | |
- name: Install | |
run: pip install .[dev] | |
- name: Run Tests | |
run: | | |
python -m pytest --cov=hmf --cov-config=.coveragerc --cov-report xml:./coverage.xml --durations=25 | |
- uses: codecov/codecov-action@v3 | |
if: matrix.os == 'ubuntu-latest' && success() && !contains(github.event.pull_request.labels.*.name, 'auto-pr') | |
with: | |
file: ./coverage.xml # optional | |
fail_ci_if_error: true | |
verbose: true | |
token: ${{ secrets.CODECOV_TOKEN }} |