[CI] Reuse stubtest workflows by srittau · Pull Request #16179 · python/typeshed · GitHub
Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
82 changes: 5 additions & 77 deletions .github/workflows/daily.yml
4 changes: 3 additions & 1 deletion .github/workflows/stubtest_stdlib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- ".github/workflows/stubtest_stdlib.yml"
- "tests/**"
# When requirements.txt changes, we run `daily.yml`, which includes stdlib stubtest
workflow_call:

permissions:
contents: read
Expand All @@ -21,12 +22,13 @@ env:
TERM: xterm-256color # needed for FORCE_COLOR to work on mypy on Ubuntu, see https://github.com/python/mypy/issues/13817

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
group: stubtest-stdlib-${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
stubtest-stdlib:
name: "stubtest: stdlib"
if: ${{ github.repository == 'python/typeshed' || github.event_name != 'schedule' }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down
23 changes: 20 additions & 3 deletions .github/workflows/stubtest_third_party.yml
Loading