Skip to content

Merge pull request #1 from JustusRijke/dependabot/github_actions/acti… #8

Merge pull request #1 from JustusRijke/dependabot/github_actions/acti…

Merge pull request #1 from JustusRijke/dependabot/github_actions/acti… #8

Workflow file for this run

name: Build
on:
push:
pull_request:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.10", "3.x"]
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install package with dev dependencies
run: pip install -e .[dev]
- name: Run ruff
run: ruff check .
- name: Run pytest
run: pytest tests/ -v --cov --cov-branch --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}