Skip to content

fix(test): remove brittle test case #99

fix(test): remove brittle test case

fix(test): remove brittle test case #99

Workflow file for this run

name: tests
on: [push, workflow_call]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12", "3.13"]
steps:
# https://github.com/actions/checkout
- uses: actions/checkout@v6
with:
fetch-depth: 0
# https://github.com/astral-sh/setup-uv
- name: Install uv
uses: astral-sh/setup-uv@v8.1.0
# https://github.com/actions/setup-python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: uv sync --group dev && uv pip install -e . --no-deps
- name: Code Quality
run: uv run black . --check
- name: Test with pytest
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_GITHUB_TOKEN }}
GITLAB_TOKEN: ${{ secrets.GITLAB_ACCESS_TOKEN }}
run: make test
- name: Upload coverage report
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLAB_TOKEN: ${{ secrets.GITLAB_ACCESS_TOKEN }}
COVERALLS_PARALLEL: true
COVERALLS_FLAG_NAME: ${{ matrix.test-name }}
run: |
uv run coveralls --service=github
continue-on-error: true
finish:
needs: test
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Install coveralls
run: pip3 install --upgrade coveralls
- name: Finished
run: coveralls --finish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_FLAG_NAME: ${{ matrix.test-name }}