Skip to content

Bump astral-sh/setup-uv from 7.1.6 to 7.2.0 #84

Bump astral-sh/setup-uv from 7.1.6 to 7.2.0

Bump astral-sh/setup-uv from 7.1.6 to 7.2.0 #84

name: integration tests
permissions:
contents: read
pull-requests: write
on:
push:
branches:
- main
paths:
- .pre-commit-config.yaml
- .github/workflows/code_checks.yml
- .github/workflows/docs.yml
- .github/workflows/unit_tests.yml
- .github/workflows/integration_tests.yml
- '**.py'
- '**.ipynb'
- uv.lock
- pyproject.toml
- '**.rst'
- '**.md'
pull_request:
branches:
- main
paths:
- .pre-commit-config.yaml
- .github/workflows/code_checks.yml
- .github/workflows/docs.yml
- .github/workflows/unit_tests.yml
- .github/workflows/integration_tests.yml
- '**.py'
- '**.ipynb'
- uv.lock
- pyproject.toml
- '**.rst'
- '**.md'
jobs:
integration-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b
with:
# Install a specific version of uv.
version: "0.7.20"
enable-cache: true
- name: "Set up Python"
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548
with:
python-version-file: ".python-version"
- name: Install the project
run: uv sync --all-extras --dev
- name: Install dependencies and check code
run: |
uv run pytest -m "integration_test" --cov . --cov-report=xml tests
# Uncomment this once this repo is configured on Codecov
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# slug: VectorInstitute/gaca-early-warning
# fail_ci_if_error: true
# verbose: true