Bump cryptography from 43.0.0 to 43.0.1 #112
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: Build Test & Coverage | |
on: | |
[pull_request, push] | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
cache: 'pip' | |
- name: Run tests | |
run: | | |
pip install -q -U pip | |
pip install -q pipenv | |
pipenv install --dev | |
pipenv run pytest --cov-report=xml --cov=newrelic_lambda_cli tests | |
- name: Upload Coverage to Codecov | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: true | |
code-style: | |
name: Code style | |
runs-on: ubuntu-latest | |
needs: test | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Check code style | |
run: | | |
pip install -q -U pip | |
pip install -q -U 'black<22.10.1' | |
black --check newrelic_lambda_cli tests | |
- name: Check README | |
run: | | |
pip install -q -U pip | |
pip install -q -U setuptools twine wheel | |
python setup.py sdist bdist_wheel | |
twine check dist/* |