Skip to content

Commit

Permalink
Run CI more regularly
Browse files Browse the repository at this point in the history
  • Loading branch information
adityagoel4512 committed Jul 16, 2024
1 parent d004608 commit 15e19ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/array-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,15 @@ name: Array API coverage tests
on:
push:
branches:
- "*"
schedule:
- cron: "0 8 * * *"
- main
pull_request:

# Automatically stop old builds on the same branch/PR
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
array-api-tests:
# Run if the commit message contains 'run array-api tests' or if the job is triggered on schedule
if: >-
contains(github.event.head_commit.message, 'run array-api tests') ||
github.event_name == 'schedule'
name: Array API test
timeout-minutes: 90
runs-on: ubuntu-latest
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
name: CI
on:
push:
branches:
- main
pull_request:
on: [push, pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down

0 comments on commit 15e19ee

Please sign in to comment.