Skip to content
Open
Changes from 1 commit
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
Prev Previous commit
Fix Unrecognized named-value error
  • Loading branch information
YuriiMotov committed Oct 22, 2025
commit 4bbb0f8073b2f195ddd066e58d6d036c58a7eacd
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@ on:

env:
UV_SYSTEM_PYTHON: 1
# Run scheduled jobs only on the main repository (disable cron on forks)
RUN_CONDITION: ${{ github.repository_owner == 'fastapi' || github.event_name != 'schedule' }}

jobs:
test:
if: ${{ env.RUN_CONDITION }}
# Run scheduled jobs only on the main repository (disable cron on forks)
if: ${{ github.repository_owner == 'fastapi' || github.event_name != 'schedule' }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
Expand Down Expand Up @@ -138,7 +137,7 @@ jobs:

# https://github.com/marketplace/actions/alls-green#why
alls-green: # This job does nothing and is only used for the branch protection
if: always() && env.RUN_CONDITION
if: always() && (github.repository_owner == 'fastapi' || github.event_name != 'schedule')
needs:
- coverage-combine
runs-on: ubuntu-latest
Expand Down
Loading