Skip to content

Continuing to consolidate all of our HLA functionality #3

Continuing to consolidate all of our HLA functionality

Continuing to consolidate all of our HLA functionality #3

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", "3.x"]
steps:
- uses: actions/checkout@v4
- 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
pip install uv
- name: Check code
continue-on-error: true
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