Skip to content

Commit 658836c

Browse files
committed
CI: misc tidy
1 parent ab89d83 commit 658836c

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,10 @@ jobs:
1515
- {os: macos, python: 3.12}
1616
- {os: windows, python: 3.12}
1717
runs-on: ${{ matrix.os }}-${{ matrix.python == 3.7 && '22.04' || 'latest' }}
18-
defaults:
19-
run:
20-
shell: bash
18+
defaults: {run: {shell: bash}}
2119
steps:
2220
- uses: actions/checkout@v4
23-
with:
24-
fetch-depth: 0
21+
with: {fetch-depth: 0}
2522
- uses: actions/setup-python@v5
2623
with:
2724
python-version: ${{ matrix.python }}
@@ -39,7 +36,6 @@ jobs:
3936
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4037
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4138
finish:
42-
if: github.event_name != 'pull_request' || !contains('OWNER,MEMBER,COLLABORATOR', github.event.pull_request.author_association)
4339
name: Coverage
4440
continue-on-error: ${{ github.event_name != 'push' }}
4541
needs: test
@@ -59,8 +55,7 @@ jobs:
5955
runs-on: ubuntu-latest
6056
steps:
6157
- uses: actions/checkout@v4
62-
with:
63-
fetch-depth: 0
58+
with: {fetch-depth: 0}
6459
- uses: actions/setup-python@v5
6560
with:
6661
python-version: '3.x'

0 commit comments

Comments
 (0)