Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit edfc331

Browse filesBrowse files
committed
Update pipeline
1 parent 3abdfe0 commit edfc331
Copy full SHA for edfc331

File tree

Expand file treeCollapse file tree

1 file changed

+11
-9
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+11
-9
lines changed

‎.github/workflows/main.yml

Copy file name to clipboardExpand all lines: .github/workflows/main.yml
+11-9Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,20 @@ on:
1010
- cron: "0 0 * * *"
1111
workflow_dispatch:
1212

13-
permissions:
14-
id-token: write
15-
contents: read
16-
issues: write
17-
pull-requests: write
18-
1913
jobs:
2014

2115
test:
16+
permissions:
17+
pull-requests: write
2218
runs-on: ${{ matrix.os }}
2319
name: ${{ matrix.os }} - ${{ matrix.python }}
24-
continue-on-error: ${{ matrix.experimental }}
2520
strategy:
2621
fail-fast: false
2722
matrix:
2823
# Test all supported versions on Ubuntu:
2924
os: [ubuntu-latest]
3025
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
31-
experimental: [false]
26+
experimental: [false, false, false, false, false]
3227
include:
3328
# As the experimental task for the dev version.
3429
- os: ubuntu-latest
@@ -72,9 +67,16 @@ jobs:
7267
run: python -c "import sys; print(sys.version)"
7368
- name: Run Tests
7469
run: python -u -m pyperformance.tests
75-
- name: Notify result for experimental tasks
70+
continue-on-error: ${{ matrix.experimental }}
71+
- name: Notify result for experimental tasks (Failure)
7672
uses: thollander/actions-comment-pull-request@v2
7773
if: failure() && ${{ matrix.experimental }} == true
7874
with:
7975
message: |
8076
'${{ matrix.os }} - ${{ matrix.python }} is failed, but allowed as the experimental task.'
77+
- name: Notify result for experimental tasks (Success)
78+
uses: thollander/actions-comment-pull-request@v2
79+
if: success() && ${{ matrix.experimental }} == true
80+
with:
81+
message: |
82+
'${{ matrix.os }} - ${{ matrix.python }} is passed, now we can disable experimental flag.'

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.