Skip to content

Commit 4199227

Browse files
committed
Fixed multiline syntax
1 parent 054684d commit 4199227

2 files changed

Lines changed: 24 additions & 20 deletions

File tree

.github/workflows/test-bench.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,19 @@ jobs:
3434
- name: Install dependencies
3535
run: |
3636
python -m pip install -e .[dev]
37-
continue-on-error: ${{
38-
matrix.python-version == '3.6' ||
39-
matrix.python-version == '3.7' ||
40-
matrix.python-version == '3.8'
41-
}} # EOL python versions are allowed to fail
37+
continue-on-error: |
38+
${{
39+
matrix.python-version == '3.6' ||
40+
matrix.python-version == '3.7' ||
41+
matrix.python-version == '3.8'
42+
}} # EOL python versions are allowed to fail
4243
4344
- name: Run benchmarks
4445
run: |
4546
python -m unittest discover -s tests -p 'test_bench_*.py'
46-
continue-on-error: ${{
47-
matrix.python-version == '3.6' ||
48-
matrix.python-version == '3.7' ||
49-
matrix.python-version == '3.8'
50-
}} # EOL python versions are allowed to fail
47+
continue-on-error: |
48+
${{
49+
matrix.python-version == '3.6' ||
50+
matrix.python-version == '3.7' ||
51+
matrix.python-version == '3.8'
52+
}} # EOL python versions are allowed to fail

.github/workflows/test-unit.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,23 @@ jobs:
3434
- name: Install dependencies
3535
run: |
3636
python -m pip install -e .[dev]
37-
continue-on-error: ${{
38-
matrix.python-version == '3.6' ||
39-
matrix.python-version == '3.7' ||
40-
matrix.python-version == '3.8'
41-
}} # EOL python versions are allowed to fail
37+
continue-on-error: |
38+
${{
39+
matrix.python-version == '3.6' ||
40+
matrix.python-version == '3.7' ||
41+
matrix.python-version == '3.8'
42+
}} # EOL python versions are allowed to fail
4243
4344
- name: Run tests and code coverage
4445
run: |
4546
coverage run --source=src -m unittest discover -s tests -p 'test_unit_*.py'
4647
coverage report -m
47-
continue-on-error: ${{
48-
matrix.python-version == '3.6' ||
49-
matrix.python-version == '3.7' ||
50-
matrix.python-version == '3.8'
51-
}} # EOL python versions are allowed to fail
48+
continue-on-error: |
49+
${{
50+
matrix.python-version == '3.6' ||
51+
matrix.python-version == '3.7' ||
52+
matrix.python-version == '3.8'
53+
}} # EOL python versions are allowed to fail
5254
5355
- name: Upload coverage reports to Codecov
5456
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)