Run tests after merging

Previously tests did not run after merging.

This lead to incompatible changes being merged right after one another.

By running tests on main we will notice breaks earlier.

Other options would be to require every PR to rebase on main before merging.
This is known as requiring linear history and can be changed in the project settings.
This commit is contained in:
Michael Osthege 2024-10-09 18:45:23 +02:00 committed by Andreas
parent 5edff42954
commit be0ab5e297

View File

@ -2,8 +2,8 @@ name: Run Pytest on Pull Request
on:
pull_request:
branches:
- main
push:
branches: [main]
jobs:
test: