From 488044fd36e03933e89da7afb4a5596b7450428e Mon Sep 17 00:00:00 2001 From: glados Date: Tue, 14 Jan 2025 11:24:25 +0100 Subject: [PATCH] Update --- .github/workflows/quality.yml | 7 +++++-- .github/workflows/test.yml | 7 +++++-- .github/workflows/test_package.yml | 12 +++++++++++- 3 files changed, 21 insertions(+), 5 deletions(-) diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index 216a5d8..6a07f74 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -1,6 +1,9 @@ -name: Quality Checks +name: Code Quality -on: workflow_dispatch # [push, pull_request] +on: + push: {} + pull_request: + branches: [main] jobs: quality: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a1b7666..c3ca14e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,9 @@ -name: Run Tests +name: Tests -on: workflow_dispatch #[push, pull_request] +on: + push: {} + pull_request: + branches: [main] jobs: test: diff --git a/.github/workflows/test_package.yml b/.github/workflows/test_package.yml index 0bb087d..2e9a0a2 100644 --- a/.github/workflows/test_package.yml +++ b/.github/workflows/test_package.yml @@ -1,10 +1,20 @@ name: Test Package Installation -on: workflow_dispatch #[push, pull_request] +on: + push: {} + pull_request: + branches: [ main ] + workflow_run: + workflows: ["Code Quality", "Tests"] + types: + - completed jobs: build: runs-on: ubuntu-latest + + if: ${{ github.event.workflow_run.conclusion == 'success' }} + steps: - uses: actions/checkout@v4 with: