Skip to content

Commit cee10cd

Browse files
committed
ci(Unit Tests): the jobs won't run because the if statement is wrong.
The if statement was checking to see if the refs/heads was NOT master. We actually need it to work on master. Fixed by changing the NOT EQUAL operator (`!=`) to the EQUAL operator (`==`).
1 parent d248c96 commit cee10cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ concurrency:
1919

2020
jobs:
2121
lint:
22-
if: ${{ github.ref != 'refs/heads/master' }}
22+
if: ${{ github.ref == 'refs/heads/master' }}
2323
runs-on: ubuntu-latest
2424

2525
strategy:
@@ -55,7 +55,7 @@ jobs:
5555

5656
#### TEST STAGE ####
5757
test:
58-
if: ${{ github.ref != 'refs/heads/master' }}
58+
if: ${{ github.ref == 'refs/heads/master' }}
5959
runs-on: ubuntu-latest
6060

6161
strategy:

0 commit comments

Comments
 (0)