Skip to content

Commit e25d3a5

Browse files
fix: tests for tags (#173)
* fix: running tests for tags * chore: added brackets to execute expression * test: brackets around github.ref * chore: inverted commas * test: use bash instead of github function * chore: typo * test: github.ref_type * test: move brackets * docs: update readme * docs: update readme --------- Co-authored-by: Lukasz Loboda <[email protected]>
1 parent c75e76d commit e25d3a5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/reusable-build-test-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ jobs:
171171
fi
172172
;;
173173
"push")
174-
if ${{ github.ref_name == 'main' }} || ${{ github.ref_name == 'develop' }}; then
174+
if ${{ github.ref_name == 'main' }} || ${{ github.ref_name == 'develop' }} || ${{ github.ref_type == 'tag' }} ; then
175175
for test_type in "${TESTSET[@]}"; do
176176
EXECUTE_LABELED["$test_type"]="true"
177177
done

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,10 @@ setup-workflow
7979
- adding labels will result retriggering job
8080
- All tests are executed by default when:
8181
- PR target branch is 'main'
82-
- PUSH event on branches 'main' and 'develop'
82+
- PUSH event on branches 'main', 'develop' and on tags (on release)
8383
- SCHEDULE event
8484

85+
8586
meta stage
8687
=======================
8788

0 commit comments

Comments
 (0)