Bump cryptography from 39.0.1 to 41.0.4 #33
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: Codecov | |
on: | |
push: | |
branches: | |
- '**' | |
tags-ignore: | |
- 'v*' | |
- 'rc-*' | |
env: | |
SLACK_NOTIFY: false | |
jobs: | |
code-coverage: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
env: | |
OS: ${{ matrix.os }} | |
PYTHON: '3.10' | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install required packages | |
run: | | |
pip install -r requirements.txt | |
- name: Generate coverage report | |
run: | | |
pip install pytest | |
pip install pytest-cov | |
pytest --cov=./ --cov-report=xml | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
env_vars: OS,PYTHON | |
fail_ci_if_error: true | |
files: ./coverage.xml | |
flags: unittests | |
name: codecov-umbrella | |
verbose: true | |
slack-workflow-status: | |
if: always() | |
name: Slack Post Workflow Notification | |
needs: | |
- code-coverage | |
runs-on: ubuntu-latest | |
steps: | |
- name: Slack Workflow Notifications | |
if: ${{ env.SLACK_NOTIFY == 'true' && github.event_name == 'push' }} | |
uses: Gamesight/[email protected] | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} | |
include_jobs: on-failure | |
include_commit_message: true |