Skip to content

Merge pull request #43 from SemClone/cleanup/remove-unused-precommit-… #17

Merge pull request #43 from SemClone/cleanup/remove-unused-precommit-…

Merge pull request #43 from SemClone/cleanup/remove-unused-precommit-… #17

Workflow file for this run

name: Tests
permissions:
contents: read
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov
pip install -e . || pip install .
- name: Run tests
run: |
pytest tests/ -v --tb=short
- name: Upload coverage
if: matrix.os == 'ubuntu-latest'
uses: codecov/codecov-action@v3
with:
files: ./coverage.xml
fail_ci_if_error: false