Only run RuntimeTests in the `develop` and `master` branches
Rob Mensching committed
Dec 14, 2021 at 12:19 UTC
4dcbd404a65a836924509d14fc7febfd1227ec9b
2 files changed
+3
-3
.github/workflows/build.yml
+1
-1
@@ -32,7 +32,7 @@ jobs:
32
shell: cmd
33
run: ./src/build_official.cmd
34
env:
35
- RuntimeTestsEnabled: ${{ github.ref == 'refs/heads/master' }}
35
+ RuntimeTestsEnabled: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop' }}
36
SigningUser: ${{ github.ref == 'refs/heads/master' && secrets.WIX_SIGNING_USER || '' }}
37
SigningSecret: ${{ github.ref == 'refs/heads/master' && secrets.WIX_SIGNING_SECRET || '' }}
38
src/test/test.cmd
+2
-2
@@ -7,8 +7,8 @@
7
@if /i "%1"=="test" set RuntimeTestsEnabled=true
8
@if not "%1"=="" shift & goto parse_args
9
10
-@if "%RuntimeTestsEnabled%"=="" echo Build integration tests %_C%
11
-@if not "%RuntimeTestsEnabled%"=="" set _T=test&echo Run integration tests %_C%
10
+@if not "%RuntimeTestsEnabled%"=="true" echo Build integration tests %_C%
11
+@if "%RuntimeTestsEnabled%"=="true" set _T=test&echo Run integration tests %_C%
12
13
@call burn\test_burn.cmd %_C% %_T%
14