Skip to content

Updating GitHub Actions versions, drop 3.6+3.7 (#28) #279

Updating GitHub Actions versions, drop 3.6+3.7 (#28)

Updating GitHub Actions versions, drop 3.6+3.7 (#28) #279

Workflow file for this run

name: Continuous Integration
on:
pull_request:
push:
jobs:
test:
name: Test
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python: ["3.8", "3.9", "3.10"]
runs-on: "${{matrix.os}}"
env:
PY_COLORS: 1
steps:
- {name: Check out repository code, uses: actions/checkout@v4}
- {name: Install Python, uses: actions/setup-python@v5, with: {python-version: "${{matrix.python}}"}, id: py}
- {name: Install Poetry, uses: abatilo/actions-poetry@v3}
- {name: Install dependencies, run: make deps}
- {name: Run lints, run: make lint}
- {name: Run tests, run: make test}
- {name: Run integration tests, run: make it}
- {name: Build docs, run: make docs}
- {name: Build package, run: make build}
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
name: "coverage-${{runner.os}}-py${{steps.py.outputs.python-version}}"
token: ${{ secrets.CODECOV_TOKEN }}