bump version #37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration Tests | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
integration-tests: | |
runs-on: ubuntu-latest | |
services: | |
redis: | |
image: redis | |
options: >- | |
--health-cmd "redis-cli ping" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
ports: | |
- 6379:6379 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- uses: astral-sh/setup-uv@v3 | |
with: | |
enable-cache: true | |
- name: Install project | |
run: | | |
uv sync --frozen | |
uv pip install celery"${{ matrix.celery-version }}" | |
- name: Run tests | |
run: uv run --no-sync pytest integration_tests -vs | |
env: | |
TASKBADGER_ORG: ${{ vars.TASKBADGER_ORG }} | |
TASKBADGER_PROJECT: ${{ vars.TASKBADGER_PROJECT }} | |
TASKBADGER_API_KEY: ${{ secrets.TASKBADGER_API_KEY }} |