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: