Skip to content

Commit b780845

Browse files
[FSSDK-10438] prioritize integration test before unit test run
1 parent 80e4d2c commit b780845

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/react.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ on:
77
branches: [ master ]
88

99
jobs:
10+
integration_tests:
11+
name: Run integration tests
12+
uses: optimizely/react-sdk/.github/workflows/integration_test.yml@master
13+
secrets:
14+
CI_USER_TOKEN: ${{ secrets.CI_USER_TOKEN }}
15+
TRAVIS_COM_TOKEN: ${{ secrets.TRAVIS_COM_TOKEN }}
1016
unitTests:
1117
name: Run Unit Tests (Node ${{ matrix.node }})
1218
runs-on: ubuntu-latest
@@ -24,7 +30,6 @@ jobs:
2430
run: yarn install
2531
- name: Run tests
2632
run: yarn test
27-
2833
coverage:
2934
name: Jest Coverage Report
3035
runs-on: ubuntu-latest
@@ -36,10 +41,4 @@ jobs:
3641
custom-title: 'Jest Coverage Report'
3742
package-manager: 'yarn'
3843

39-
integration_tests:
40-
name: Run integration tests
41-
needs: [ unitTests ]
42-
uses: optimizely/react-sdk/.github/workflows/integration_test.yml@master
43-
secrets:
44-
CI_USER_TOKEN: ${{ secrets.CI_USER_TOKEN }}
45-
TRAVIS_COM_TOKEN: ${{ secrets.TRAVIS_COM_TOKEN }}
44+

0 commit comments

Comments
 (0)