Skip to content

Commit 676272b

Browse files
committed
Switched to validating templates before validating test generation and testing.
1 parent ce88d39 commit 676272b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,25 +62,25 @@ jobs:
6262
- name: Install Dependencies
6363
run: |
6464
pip install -r requirements-generator.txt
65+
66+
- name: Test Templates Status
67+
continue-on-error: true
68+
run: |
69+
cd python
70+
../bin/template_status.py -v -p ../problem-specifications
6571
66-
- name: Generate tests
72+
- name: Generate Tests from Templates
6773
run: |
6874
bin/generate_tests.py --verbose -p ./problem-specifications --check
6975
70-
- name: Lint with flake8
76+
- name: Lint Exercises and Data with flake8
7177
run: |
7278
# stop the build if there are Python syntax errors or undefined names
7379
flake8 ./python/exercises/practice --count --select=E9,F63,F7,F82 --show-source --statistics
7480
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
7581
flake8 ./python/exercises/practice --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
7682
77-
- name: Test template status
78-
continue-on-error: true
79-
run: |
80-
cd python
81-
../bin/template_status.py -v -p ../problem-specifications
82-
83-
- name: Check exercises
83+
- name: Check Exercise Examples against Tests
8484
run: |
8585
cd python
8686
../bin/test_exercises.py --runner test-runner

0 commit comments

Comments
 (0)