From 2b589e03650536734e0d47934dbedeed1d7308bb Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Wed, 17 Mar 2021 18:58:25 +0100 Subject: [PATCH] =?UTF-8?q?Lance=20les=20tests=20de=20non=20regression=20u?= =?UTF-8?q?niquement=20lors=20de=20modifications=20des=20r=C3=A8gles=20/?= =?UTF-8?q?=20du=20moteur=20/=20des=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yaml | 7 ++++--- .github/workflows/test-regressions.yaml | 7 ++++++- 2 files changed, 10 insertions(+), 4 deletions(-) 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