diff --git a/.github/workflows/react.yml b/.github/workflows/react.yml index d4c298e..89423f8 100644 --- a/.github/workflows/react.yml +++ b/.github/workflows/react.yml @@ -24,7 +24,13 @@ jobs: run: yarn install - name: Run tests run: yarn test - + integration_tests: + name: Run integration tests + needs: [ unitTests ] + uses: optimizely/react-sdk/.github/workflows/integration_test.yml@master + secrets: + CI_USER_TOKEN: ${{ secrets.CI_USER_TOKEN }} + TRAVIS_COM_TOKEN: ${{ secrets.TRAVIS_COM_TOKEN }} coverage: name: Jest Coverage Report runs-on: ubuntu-latest @@ -36,10 +42,4 @@ jobs: custom-title: 'Jest Coverage Report' package-manager: 'yarn' - integration_tests: - name: Run integration tests - needs: [ unitTests ] - uses: optimizely/react-sdk/.github/workflows/integration_test.yml@master - secrets: - CI_USER_TOKEN: ${{ secrets.CI_USER_TOKEN }} - TRAVIS_COM_TOKEN: ${{ secrets.TRAVIS_COM_TOKEN }} +