Skip to content

Commit 5e1d12c

Browse files
authored
Merge pull request #54 from avcopan/main
New: Parallelizes testing workflow
2 parents 292f5e5 + 67c5e44 commit 5e1d12c

5 files changed

Lines changed: 4273 additions & 30 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: test
1+
name: signed
22

33
on:
44
push:
@@ -26,4 +26,4 @@ jobs:
2626
2727
- name: Run tests
2828
run: |
29-
pixi run pytest -v src/mechdriver/tests/
29+
pixi run pytest -v src/mechdriver/tests/ -k "signature"

.github/workflows/test_other.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: test-other
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
fail-fast: false
13+
14+
steps:
15+
# Repository
16+
- name: Checkout the code
17+
uses: actions/checkout@v4
18+
19+
- name: Set up Pixi
20+
uses: prefix-dev/setup-pixi@v0.8.1
21+
22+
- name: Pip install
23+
run: |
24+
yes Y | pixi run download Auto-Mech no http
25+
pixi run install
26+
27+
- name: Run tests
28+
run: |
29+
pixi run pytest -v src/mechdriver/tests/ -k "not signature and not prompt"

.github/workflows/test_prompt.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: test-prompt
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
fail-fast: false
13+
14+
steps:
15+
# Repository
16+
- name: Checkout the code
17+
uses: actions/checkout@v4
18+
19+
- name: Set up Pixi
20+
uses: prefix-dev/setup-pixi@v0.8.1
21+
22+
- name: Pip install
23+
run: |
24+
yes Y | pixi run download Auto-Mech no http
25+
pixi run install
26+
27+
- name: Run tests
28+
run: |
29+
pixi run pytest -v src/mechdriver/tests/ -k "prompt"

0 commit comments

Comments
 (0)