Skip to content

Commit

Permalink
ci: Add workflow_dispatch and weekly schedule to test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon authored Oct 7, 2024
1 parent 43cc311 commit d27e1b5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ on:
- pyproject.toml
- .github/workflows/test.yml
- .github/workflows/constraints.txt
workflow_dispatch:
schedule:
# Run weekly on Monday at 12:00 PM UTC
- cron: "0 12 * * 1"

env:
FORCE_COLOR: "1"
Expand All @@ -29,7 +33,6 @@ jobs:
test:
runs-on: ubuntu-latest
env:
FORCE_COLOR: "1"
NOXPYTHON: ${{ matrix.python-version }}
NOXSESSION: tests
PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt
Expand Down

0 comments on commit d27e1b5

Please sign in to comment.