8000 gh-263: Run Python 3.12 task as the experimental task by corona10 · Pull Request #274 · python/pyperformance · GitHub
[go: up one dir, main page]

Skip to content

gh-263: Run Python 3.12 task as the experimental task #274

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Apr 19, 2023
Prev Previous commit
Next Next commit
Update pipeline
  • Loading branch information
corona10 committed Apr 19, 2023
commit 1c339244ccce9131553e507d892737a3201a75c9
18 changes: 10 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,13 @@ on:
- cron: "0 0 * * *"
workflow_dispatch:

permissions:
id-token: write
contents: read
issues: write
pull-requests: write

jobs:

test:
permissions:
pull-requests: write
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} - ${{ matrix.python }}
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -72,9 +67,16 @@ jobs:
run: python -c "import sys; print(sys.version)"
- name: Run Tests
run: python -u -m pyperformance.tests
- name: Notify result for experimental tasks
continue-on-error: ${{ matrix.experimental }}
- name: Notify result for experimental tasks (Failure)
uses: thollander/actions-comment-pull-request@v2
if: failure() && ${{ matrix.experimental }} == true
with:
message: |
'${{ matrix.os }} - ${{ matrix.python }} is failed, but allowed as the experimental task.'
- name: Notify result for experimental tasks (Success)
uses: thollander/actions-comment-pull-request@v2
if: success() && ${{ matrix.experimental }} == true
with:
message: |
'${{ matrix.os }} - ${{ matrix.python }} is passed, now we can disable experimental flag.'
0