Bump certifi from 2023.7.22 to 2024.7.4 #86
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: CI | |
on: | |
# Run this workflow every time a new commit pushed to upstream/fork repository. | |
# Run workflow on fork repository will help contributors find and resolve issues before sending a PR. | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
codeformat: | |
name: check-code-format | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: autoyapf | |
id: autoyapf | |
uses: mritunjaysharma394/autoyapf@v2 | |
with: | |
args: --style google --recursive --in-place . | |
- name: Check for modified files | |
run: | | |
if git diff-index --quiet HEAD --; then | |
exit 0 | |
else | |
git diff; | |
exit 1 | |
fi | |
ci: | |
name: run-unit-tests | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Setup Poetry | |
uses: abatilo/actions-poetry@v2 | |
- name: Display Python version | |
run: python --version | |
- name: Install dependencies | |
run: | | |
poetry install --with devel | |
- name: Check lock file | |
run: poetry lock --check | |
- name: Lint with flake8 | |
run: | | |
poetry run tox -e flake | |
- name: Test with pytest | |
run: | | |
poetry run tox -e test |