-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
33 lines (27 loc) · 798 Bytes
/
action.yml
File metadata and controls
33 lines (27 loc) · 798 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: "Run Python and Rust Tests"
description: "Standardized test suite with strict shell"
inputs:
python-version:
description: "Python version to use"
required: true
runs:
using: composite
steps:
- name: Set up Python ${{ inputs.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Install dependencies
shell: bash -euxo pipefail {0}
run: uv sync --extra tests
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Run Tests
shell: bash -euxo pipefail {0}
run: |
uv run pytest tests/
cargo test --workspace --locked