Support specifying commit in execution/task node definition #535
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
Test: | |
runs-on: "${{ matrix.os }}" | |
strategy: | |
matrix: | |
os: | |
- ubuntu-24.04 | |
python-version: | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
- "3.13" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: astral-sh/setup-uv@v5.4.0 | |
with: | |
python-version: "${{ matrix.python-version }}" | |
- run: uv pip install -e . -r requirements-test.txt | |
- run: uv run pytest -vvv --cov . | |
- uses: codecov/codecov-action@v5 | |
Lint: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: akx/pre-commit-uv-action@v0.1.0 | |
Build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: astral-sh/setup-uv@v5.4.0 | |
- run: uv build . | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: dist | |
path: dist | |
retention-days: 7 |