Skip to content

ci: bump actions/checkout from 3 to 4 #19

ci: bump actions/checkout from 3 to 4

ci: bump actions/checkout from 3 to 4 #19

Workflow file for this run

name: CI tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install package and dependencies
run: |
python -m pip install -U pip build wheel
python -m build --wheel --outdir ./dist .
python -m pip install $(printf -- '%s[ci]' dist/*)
- name: Run tests
run: make tests
# - name: Upload coverage report
# uses: codecov/codecov-action@v2
# with:
# files: ./.coverage.xml
# flags: tests
# verbose: true
# fail_ci_if_error: true