diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 0f7904646..b4a3bf544 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -62,8 +62,8 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} enable-commit-status: true enable-commit-comment: false - github-deployment-environment: $ENV_NAME - alias: $ENV_NAME + github-deployment-environment: ${{ env.ENV_NAME }} + alias: ${{ env.ENV_NAME }} deploy-message: ${{ github.event.pull_request.title || steps.vars.outputs.branch}} # Disabled because we create our own customized comment @@ -104,10 +104,10 @@ jobs: needs: build strategy: + fail-fast: false matrix: lang: ['fr', 'en'] # TODO : activate parallelization https://github.com/cypress-io/github-action#parallel (missing https://github.com/cypress-io/github-action#custom-build-id) - # fail-fast: false # containers: [1, 2] # TODO : browser: ['firefox', 'chrome'] steps: @@ -115,6 +115,7 @@ jobs: uses: actions/checkout@v2 - name: Test mon-entreprise uses: cypress-io/github-action@v2 + if: matrix.lang == 'fr' || !github.event.pull_request with: working-directory: mon-entreprise record: true diff --git a/.github/workflows/test-regressions.yaml b/.github/workflows/test-regressions.yaml index 3d5953b48..b8084f7e2 100644 --- a/.github/workflows/test-regressions.yaml +++ b/.github/workflows/test-regressions.yaml @@ -1,5 +1,10 @@ name: Règles (non-regression) -on: pull_request +on: + pull_request: + paths: + - modele-social/règles/** + - publicodes/core/** + - mon-entreprise/test/regressions/** jobs: test: runs-on: ubuntu-18.04