stages: - test Unit Tests: rules: - if: '$CI_PIPELINE_SOURCE == "push"' when: always - when: never stage: test image: siteworxpro/composer script: - echo "Running unit tests..." - composer run tests:unit