Skip to content

Merge pull request #3 from BrantaOps/readme #6

Merge pull request #3 from BrantaOps/readme

Merge pull request #3 from BrantaOps/readme #6

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
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: pip install -e ".[dev]"
- name: Run tests with coverage
run: |
coverage run -m pytest tests/ --ignore=tests/test_integration.py -v
coverage report
coverage xml
env:
BRANTA_SKIP_INTEGRATION: "1"
- name: Upload coverage
uses: actions/upload-artifact@v4
with:
name: coverage-${{ matrix.python-version }}
path: coverage.xml