Skip to content

Commit 4f15d50

Browse files
Merge pull request #135 from Erotemic/improve-actions-tests
Improve actions tests
2 parents dec1ae4 + 7c6a1f7 commit 4f15d50

3 files changed

Lines changed: 44 additions & 5 deletions

File tree

.github/workflows/test.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Tests
2+
on:
3+
pull_request:
4+
push:
5+
branches: [main]
6+
permissions:
7+
contents: read
8+
jobs:
9+
tests:
10+
name: ${{ matrix.deps }} / ${{ matrix.resolution }}
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 10
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
include:
17+
- deps: core
18+
resolution: locked
19+
sync: uv sync --locked
20+
pytest_args: tests -v
21+
- deps: core
22+
resolution: loose
23+
sync: uv sync --upgrade
24+
pytest_args: tests -v
25+
- deps: full
26+
resolution: locked
27+
sync: uv sync --locked --all-extras
28+
pytest_args: tests -v
29+
- deps: full
30+
resolution: loose
31+
sync: uv sync --upgrade --all-extras
32+
pytest_args: tests -v
33+
steps:
34+
- uses: actions/checkout@v6.0.2
35+
- uses: astral-sh/setup-uv@v7.6.0
36+
- name: Install dependencies
37+
run: ${{ matrix.sync }}
38+
- name: Run tests
39+
run: uv run pytest ${{ matrix.pytest_args }}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ dependencies = [
2828
[project.optional-dependencies]
2929
inspect = ["inspect-ai>=0.3.160,<0.4.0"]
3030
helm = [
31-
"crfm-helm>=0.5.12",
31+
"crfm-helm>=0.5.14",
3232
"typer>=0.12,<1.0",
3333
]
3434
all = [

uv.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)