Skip to content

Consolidate all functionality into one library #26

Consolidate all functionality into one library

Consolidate all functionality into one library #26

Workflow file for this run

name: test
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
concurrency:
group: test-${{ github.head_ref }}
cancel-in-progress: true
env:
PYTHONUNBUFFERED: "1"
FORCE_COLOR: "1"
jobs:
run:
name: Python ${{ matrix.python-version }} Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run:
- apt update && apt install yamllint

Check failure on line 37 in .github/workflows/python.yml

View workflow run for this annotation

GitHub Actions / test

Invalid workflow file

The workflow is not valid. .github/workflows/python.yml (Line: 37, Col: 11): A sequence was not expected .github/workflows/python.yml (Line: 42, Col: 11): A sequence was not expected
- pip install uv
- name: Check code
run:
- yamllint .
- uv run mypy --check .
- uv run ruff check .
- name: Run tests
run: uv run pytest --junitxml=pytest.xml
# TODO: Look into github actions, these are out of date
# - name: Upload coverage data
# uses: actions/upload-artifact@v3
# with:
# name: coverage-data
# path: coverage.xml
# - name: Publish Test Report
# uses: mikepenz/action-junit-report@v3
# if: success() || failure()
# with:
# report_paths: unit_test.xml