diff --git a/.github/workflows/on-pr.yml b/.github/workflows/on-pr.yml deleted file mode 100644 index b92f11b..0000000 --- a/.github/workflows/on-pr.yml +++ /dev/null @@ -1,6 +0,0 @@ -name: Run tests for PR -on: [pull_request] - -jobs: - run-tests: - uses: ./.github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 201009c..1a9fcc1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,16 @@ name: Unit and integration tests on: - workflow_call: + # workflow_call: + + # Job headers are hidden when not top-level - run them directly for readability until fixed: + # https://github.com/go-gitea/gitea/issues/26736 + pull_request: + branches: '*' + push: + branches: + - main + - ci-test + env: # Needed until we can incorporate docker startup into the executor container