Skip to content

Commit

Permalink
Prevent composer package tests on master branch (#198)
Browse files Browse the repository at this point in the history
Exclude running the "Test as composer package" step on the master branch
to streamline CI/CD workflows and reduce redundant checks. This change
ensures that these tests only run on feature branches, optimizing build
times and resource usage.
  • Loading branch information
SmetDenis authored May 29, 2024
1 parent 7ceffed commit 679491d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ jobs:
! $BLUEPRINT $CMD_VALIDATE $INVALID_TEST
- name: Test as composer package
if: github.ref != 'refs/heads/master'
run: |
mkdir -pv ./build/composer-test
cd ./build/composer-test
Expand Down

0 comments on commit 679491d

Please sign in to comment.