Skip to content

Use latest checkout Action #41

Use latest checkout Action

Use latest checkout Action #41

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04]
python-version: ["3.7", "3.10", "3.11", "3.12"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install pytest-cov
- name: Test
run: |
pytest --cov=. --cov-branch --cov-report=term --cov-report=xml -v test/test*.py
- uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}