Skip to content
Merged
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ on:
- synchronize # default
- reopened # default
- ready_for_review # used in PRs created from GitHub Actions workflows
schedule:
- cron: '0 0 * * *' # Run the linkcheck daily to surface failures independent of PRs
Comment thread
konstin marked this conversation as resolved.
Outdated
workflow_call:

concurrency:
Expand All @@ -25,11 +27,17 @@ jobs:
if: ${{ github.repository_owner == 'pypa' || github.event_name != 'schedule' }}
runs-on: ubuntu-latest
timeout-minutes: 20
# Don't block PRs on linkcheck unrelated failures
continue-on-error: ${{ matrix.ignore-errors || false }}
strategy:
fail-fast: false
matrix:
noxenv:
- build
- linkcheck
include:
- noxenv: linkcheck
ignore-errors: true
Comment thread
webknjaz marked this conversation as resolved.
Outdated

steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
Expand All @@ -50,7 +58,7 @@ jobs:
- name: Nox ${{ matrix.noxenv }}
env:
# Authenticate github.com requests during linkcheck to avoid rate limits.
GITHUB_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ matrix.noxenv == 'linkcheck' && github.token || '' }}
run: |
python -m nox -s ${{ matrix.noxenv }}

Expand Down