Run test.yml on schedule and allow workflow dispatch for all jobs
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: Run coverage tests
|
||||
on: workflow_call
|
||||
on: [workflow_dispatch, workflow_call]
|
||||
jobs:
|
||||
coverage:
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: Build & test docs
|
||||
on: workflow_call
|
||||
on: [workflow_dispatch, workflow_call]
|
||||
jobs:
|
||||
docs:
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: Linting with flake8, etc
|
||||
on: workflow_call
|
||||
on: [workflow_dispatch, workflow_call]
|
||||
jobs:
|
||||
linter:
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: Publish on PyPI
|
||||
on: push
|
||||
on: [push, workflow_dispatch, workflow_call]
|
||||
jobs:
|
||||
build:
|
||||
name: Build distributions
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
name: test
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 0 * * 2'
|
||||
jobs:
|
||||
linter:
|
||||
uses: ./.github/workflows/linter.yml
|
||||
|
||||
Reference in New Issue
Block a user