Skip to content

Commit a204048

Browse files
Consolidate pytest workflows into test-utils.yml
Co-authored-by: functionstackx <47992694+functionstackx@users.noreply.github.com>
1 parent 73b52a4 commit a204048

2 files changed

Lines changed: 12 additions & 41 deletions

File tree

.github/workflows/test-matrix-logic.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/test-utils-process-result.yml renamed to .github/workflows/test-utils.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
1-
name: Test Utils Process Result
1+
name: Test Utils
22

33
on:
44
pull_request:
55
paths:
6-
- 'utils/process_result.py'
7-
- 'utils/test_process_result.py'
8-
- '.github/workflows/test-utils-process-result.yml'
6+
- 'utils/**/*.py'
7+
- '.github/workflows/test-utils.yml'
98
push:
109
branches:
1110
- main
1211
paths:
13-
- 'utils/process_result.py'
14-
- 'utils/test_process_result.py'
15-
- '.github/workflows/test-utils-process-result.yml'
12+
- 'utils/**/*.py'
13+
- '.github/workflows/test-utils.yml'
1614

1715
jobs:
1816
test:
@@ -33,9 +31,14 @@ jobs:
3331
- name: Install dependencies
3432
run: |
3533
python -m pip install --upgrade pip
36-
pip install pytest
34+
pip install pytest pydantic pyyaml
3735
38-
- name: Run pytest
36+
- name: Run pytest for matrix-logic
37+
run: |
38+
cd utils/matrix-logic
39+
pytest test_generate_sweep_configs.py -v
40+
41+
- name: Run pytest for process_result
3942
run: |
4043
cd utils
4144
pytest test_process_result.py -v

0 commit comments

Comments
 (0)