Skip to content

Commit 4c5407b

Browse files
committed
Add workflow to run recategorize tests
1 parent 4f18053 commit 4c5407b

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Tooling unit tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- "rc/**"
8+
- next
9+
pull_request:
10+
branches:
11+
- main
12+
- "rc/**"
13+
- next
14+
15+
jobs:
16+
recategorization-tests:
17+
name: Run Guideline Recategorization tests
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v2
22+
23+
- name: Install Python
24+
uses: actions/setup-python@v4
25+
with:
26+
python-version: "3.9"
27+
28+
- name: Install Python dependencies
29+
run: pip install -r scripts/guideline_recategorization/requirements.txt
30+
31+
- name: Run PyTest
32+
run: |
33+
pytest scripts/guideline_recategorization/recategorize_test.py

0 commit comments

Comments
 (0)