Skip to content

Commit

Permalink
ci: run tests on main to get coverage comparison
Browse files Browse the repository at this point in the history
Tests are currently only executed for PRs. This has two downsides:

- Coverage comparison in PRs is not available
- If two PRs modify similar code, they have the potential to break
  tests, this would only be discovered once a new PR is opened.
  • Loading branch information
apricote committed Jan 12, 2024
1 parent b620486 commit 8ce46a8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Run tests
on: [ pull_request ]

on:
push:
branches: [main]
pull_request:

jobs:
test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8ce46a8

Please sign in to comment.