Skip to content

Commit 81e8acd

Browse files
authored
Merge pull request #34 from python-project-templates/tkp/upd
Small tweaks to format in github workflows
2 parents ea9f24b + 0ddd376 commit 81e8acd

File tree

4 files changed

+7
-20
lines changed

4 files changed

+7
-20
lines changed

js/.github/workflows/build.yml.jinja

+2-4
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,13 @@ jobs:
7676
uses: actions/upload-artifact@v4
7777
with:
7878
name: {% raw %}test-results-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.node-version }}{% endraw %}
79-
path: |
80-
**/junit.xml
79+
path: '**/junit.xml'
8180
if: {% raw %}${{ always() }}{% endraw %}
8281

8382
- name: Publish Unit Test Results
8483
uses: EnricoMi/publish-unit-test-result-action@v2
8584
with:
86-
files: |
87-
**/junit.xml
85+
files: '**/junit.xml'
8886
if: matrix.os == 'ubuntu-latest'
8987

9088
- name: Upload coverage

jupyter/.github/workflows/build.yml.jinja

+2-4
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,13 @@ jobs:
7676
uses: actions/upload-artifact@v4
7777
with:
7878
name: {% raw %}test-results-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.node-version }}{% endraw %}
79-
path: |
80-
**/junit.xml
79+
path: '**/junit.xml'
8180
if: {% raw %}${{ always() }}{% endraw %}
8281

8382
- name: Publish Unit Test Results
8483
uses: EnricoMi/publish-unit-test-result-action@v2
8584
with:
86-
files: |
87-
**/junit.xml
85+
files: '**/junit.xml'
8886
if: matrix.os == 'ubuntu-latest'
8987

9088
- name: Upload coverage

python/.github/workflows/build.yml.jinja

+1-8
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,15 @@ jobs:
4747

4848
- name: Lint
4949
run: make lint
50-
if: matrix.os == 'ubuntu-latest'
5150

5251
- name: Checks
5352
run: make checks
54-
if: matrix.os == 'ubuntu-latest'
5553

5654
- name: Build
5755
run: make build
5856

5957
- name: Test
6058
run: make coverage
61-
if: matrix.os == 'ubuntu-latest'
6259

6360
- name: Upload test results (Python)
6461
uses: actions/upload-artifact@v4
@@ -70,9 +67,7 @@ jobs:
7067
- name: Publish Unit Test Results
7168
uses: EnricoMi/publish-unit-test-result-action@v2
7269
with:
73-
files: |
74-
**/junit.xml
75-
if: matrix.os == 'ubuntu-latest'
70+
files: '**/junit.xml'
7671

7772
- name: Upload coverage
7873
uses: codecov/codecov-action@v5
@@ -81,10 +76,8 @@ jobs:
8176

8277
- name: Make dist
8378
run: make dist
84-
if: matrix.os == 'ubuntu-latest'
8579

8680
- uses: actions/upload-artifact@v4
8781
with:
8882
name: {% raw %}dist-${{matrix.os}}{% endraw %}
8983
path: dist
90-
if: matrix.os == 'ubuntu-latest'

rust/.github/workflows/build.yml.jinja

+2-4
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,13 @@ jobs:
8989
uses: actions/upload-artifact@v4
9090
with:
9191
name: {% raw %}test-results-${{ matrix.os }}-${{ matrix.python-version }}{% endraw %}
92-
path: |
93-
**/junit.xml
92+
path: '**/junit.xml'
9493
if: {% raw %}${{ always() }}{% endraw %}
9594

9695
- name: Publish Unit Test Results
9796
uses: EnricoMi/publish-unit-test-result-action@v2
9897
with:
99-
files: |
100-
**/junit.xml
98+
files: '**/junit.xml'
10199
if: matrix.os == 'ubuntu-latest'
102100

103101
- name: Upload coverage

0 commit comments

Comments
 (0)