Skip to content

Shutdown fowld

Shutdown fowld #361

Workflow file for this run

name: Unit Testing
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
unit-tests:
strategy:
matrix:
os:
- runs-on: ubuntu-latest
python-version:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
runs-on: ${{ matrix.os.runs-on }}
steps:
- name: Check out source code
uses: actions/checkout@v6
with:
# Get enough history for the tags we get next to be meaningful. 0
# means all history.
fetch-depth: "0"
# Checkout head of the branch of the PR, or the exact revision
# specified for non-PR builds.
ref: "${{ github.event.pull_request.head.sha || github.sha }}"
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --editable .[test]
- name: basic sanity
run: python -m pytest --version
- name: pytest
run: timeout --kill-after 65 --signal=TERM 60 python -m pytest --assert=plain --disable-warnings --cov=fowl -s -v src/fowl/test/
- name: Coverage graph
shell: bash
run: cuv graph
continue-on-error: true
- name: Coverage report
shell: bash
run: |
git diff origin/main..HEAD > p
cuv report p
continue-on-error: true
- name: Convert to LCOV
shell: bash
run: |
coverage lcov
- name: Coveralls.io
uses: actions/setup-python@v6