Skip to content

Commit

Permalink
⛵️ CI: run online tests on main only
Browse files Browse the repository at this point in the history
  • Loading branch information
asaf-kali committed Nov 19, 2024
1 parent b0cde6f commit e3765ef
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@ jobs:
make install-test
- name: Run tests
run: |
make cover-xml COVERAGE_EXTRA="-m 'not web'"
if [[ $GITHUB_REF != "refs/heads/main" ]]; then
COVERAGE_EXTRA="-m 'not web'"
else
COVERAGE_EXTRA=""
fi
make cover-xml COVERAGE_EXTRA="$COVERAGE_EXTRA"
- name: Test report
uses: dorny/test-reporter@v1
if: ${{ ! cancelled() }}
Expand Down

0 comments on commit e3765ef

Please sign in to comment.