mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-26 05:41:11 +08:00
Run stubtest on all third party stubs if requirements.txt is changed (#9132)
This commit is contained in:
4
.github/workflows/daily.yml
vendored
4
.github/workflows/daily.yml
vendored
@@ -4,6 +4,10 @@ on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
pull_request:
|
||||
paths:
|
||||
- 'requirements-tests.txt'
|
||||
- '.github/workflows/daily.yml'
|
||||
|
||||
# Please keep the permissions minimal, as stubtest runs arbitrary code from pypi.
|
||||
permissions:
|
||||
|
||||
2
.github/workflows/stubtest_stdlib.yml
vendored
2
.github/workflows/stubtest_stdlib.yml
vendored
@@ -10,7 +10,7 @@ on:
|
||||
- 'stdlib/**'
|
||||
- '.github/workflows/stubtest_stdlib.yml'
|
||||
- 'tests/**'
|
||||
- 'requirements-tests.txt'
|
||||
# When requirements.txt changes, we run `daily.yml`, which includes stdlib stubtest
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
Reference in New Issue
Block a user