Skip to content

Commit

Permalink
ci: ensures tests are run on push
Browse files Browse the repository at this point in the history
Unit tests job is currently only executed on PRs, leaving pushes on e.g.
incubation branch untested. This can lead to issues like the one
described in opendatahub-io#1235

This PR enables GH Action to be run also for push events.
  • Loading branch information
bartoszmajsak committed Sep 14, 2024
1 parent df1add0 commit 455cb32
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Unit Tests
on:
pull_request:
on: [push, pull_request]
jobs:
unit-test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 455cb32

Please sign in to comment.