Skip to content

fix: correct game_id alignment between schedule and results #10

fix: correct game_id alignment between schedule and results

fix: correct game_id alignment between schedule and results #10

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Test on Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: "latest"
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync
- name: Run unit tests
run: uv run pytest tests/unit/ -v --cov=transform/models/nfl --cov=scripts --cov-report=xml --cov-report=term
- name: Run integration tests
run: uv run pytest tests/integration/ -v
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
if: matrix.python-version == '3.12'
with:
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false
- name: Test summary
if: always()
run: |
echo "## Test Results" >> $GITHUB_STEP_SUMMARY
echo "Python version: ${{ matrix.python-version }}" >> $GITHUB_STEP_SUMMARY
echo "All tests completed" >> $GITHUB_STEP_SUMMARY