Skip to content

Commit ea7732a

Browse files
committed
Update GitHub Actions workflow to test all tools
Changed the workflow from testing only locust-compare to testing all tools in the repository using a matrix strategy. Changes: - Added matrix strategy with all tools: locust-compare, config-utils - Set fail-fast: false to ensure all tools are tested even if one fails - Updated step names to be dynamic based on matrix.tool - Both tools now run tests in parallel as separate jobs This ensures comprehensive testing across the entire repository.
1 parent ad4c58c commit ea7732a

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ on:
99
jobs:
1010
test:
1111
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
tool:
15+
- locust-compare
16+
- config-utils
17+
fail-fast: false
1218
steps:
1319
- uses: actions/checkout@v4
1420

@@ -17,9 +23,10 @@ jobs:
1723
with:
1824
python-version: 3.12
1925

20-
- name: Install and test locust-compare
21-
working-directory: tools/locust-compare
26+
- name: Install and test ${{ matrix.tool }}
27+
working-directory: tools/${{ matrix.tool }}
2228
run: |
2329
python -m pip install --upgrade pip
2430
pip install -e .[dev]
25-
pytest
31+
python -m pytest -v
32+

0 commit comments

Comments
 (0)