Skip to content

Merge pull request #12 from johnlettman/dependabot/pip/certifi-2024.7.4 #22

Merge pull request #12 from johnlettman/dependabot/pip/certifi-2024.7.4

Merge pull request #12 from johnlettman/dependabot/pip/certifi-2024.7.4 #22

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [main, master]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
strategy:
fail-fast: false
matrix:
python: ["3.9", "3.10", "3.11", "pypy-3.9"]
platform: ["ubuntu-latest"]
runs-on: ${{ matrix.platform }}
name: "Test: Python ${{ matrix.python }} on ${{ matrix.platform }}"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python ${{ matrix.python }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python }}
- name: Install Poetry
uses: snok/[email protected]
with:
virtualenvs-create: true
virtualenvs-in-project: true
- name: Load cached venv
id: cached-venv
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ matrix.python }}-${{ matrix.python }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cached-venv.outputs.cache-hit != 'true'
run: make install-deps
- name: Lint
run: make lint
- name: Test
run: make test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}