Skip to content

null commit to trigger ci-cd flow #11

null commit to trigger ci-cd flow

null commit to trigger ci-cd flow #11

Workflow file for this run

name: Python Tests on Release branch (main)
on:
pull_request:
types: [closed]
branches:
- main
jobs:
test:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
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 ".[dev]"
- name: Run tests
run: |
pytest -v
- name: Calculate coverage
if: matrix.python-version == '3.11'
uses: codecov/codecov-action@v4
with:
dry_run: "false"
fail_ci_if_error: "true"
verbose: "true"
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}