From be0ab5e297d1be0e66dc28822d5216be9c4b5275 Mon Sep 17 00:00:00 2001 From: Michael Osthege Date: Wed, 9 Oct 2024 18:45:23 +0200 Subject: [PATCH] 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. --- .github/workflows/pytest.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index ba934c0..55de900 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -2,8 +2,8 @@ name: Run Pytest on Pull Request on: pull_request: - branches: - - main + push: + branches: [main] jobs: test: