Cleanup #170
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Run tests | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v4 | |
- name: Set up PDM | |
uses: pdm-project/setup-pdm@v4 | |
with: | |
python-version: 3.13 | |
- name: Install dependencies | |
run: | | |
pdm install -G test | |
# Update output format to enable automatic inline annotations. | |
- name: Run Ruff | |
run: pdm run ruff check --output-format=github . | |
- name: Run tests | |
run: | | |
pdm run -v pytest --cov=QuantSI --cov-report lcov --doctest-modules | |
- name: Publish coverage | |
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6 | |
with: | |
format: lcov |