diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 5830ddad08..77097bd227 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -4,10 +4,19 @@ on: push: paths: - 'e2e/**' - - '.github/workflows/e2e.yml' + - 'infra/charts/datasets-server/docker-images.yaml' + - '.github/workflows/_e2e_tests.yml' - '.github/workflows/_quality-python.yml' + - '.github/workflows/e2e.yml' jobs: quality: uses: ./.github/workflows/_quality-python.yml with: working-directory: e2e + e2e-tests: + uses: ./.github/workflows/_e2e_tests.yml + with: + config-file: infra/charts/datasets-server/docker-images.yaml + secrets: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/infra.yml b/.github/workflows/infra.yml index d84c275207..2543381dcd 100644 --- a/.github/workflows/infra.yml +++ b/.github/workflows/infra.yml @@ -5,7 +5,6 @@ on: paths: - 'infra/charts/datasets-server/**' - '.github/workflows/infra.yml' - - '.github/workflows/_e2e_tests.yml' jobs: code-quality-helm: runs-on: ubuntu-20.04 @@ -15,10 +14,3 @@ jobs: - name: Lint chart run: helm lint working-directory: infra/charts/datasets-server - e2e-tests: - uses: ./.github/workflows/_e2e_tests.yml - with: - config-file: infra/charts/datasets-server/docker-images.yaml - secrets: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}