Skip to content

Commit

Permalink
Add schedule runs and on-demand runs to workflows (#18)
Browse files Browse the repository at this point in the history
* Add schedule workflows

* Fix versions
  • Loading branch information
dbarrous authored Oct 18, 2023
1 parent 54a21ae commit ee91bc1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,18 @@ on:
pull_request:
branches:
- main
workflow_dispatch: # For on demand runs
schedule:
- cron: 0 0 * * * # Scheduled run every day at midnight
jobs:
build:

runs-on: ubuntu-20.04

runs-on: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest]
python-version: [3.9]
steps:
- uses: actions/checkout@v3
- name: Install dependencies
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
pull_request:
branches:
- main
workflow_dispatch: # For on demand runs
schedule:
- cron: 0 0 * * * # Scheduled run every day at midnight
jobs:
build:

Expand Down

0 comments on commit ee91bc1

Please sign in to comment.