diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 77d3419..49049af 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,3 +42,15 @@ jobs: labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max + e2e-tests: + runs-on: ubuntu-latest + needs: build-and-push-image + env: + LUIGI_ENV: ${{ secrets.E2E_TESTS_LUIGI_ENV }} + POSTGRES_ENV: ${{ secrets.E2E_TESTS_POSTGRES_ENV }} + steps: + - name: Run e2e test + run: | + echo $LUIGI_ENV > .luigi_env + echo $POSTGRES_ENV > .postgres_env + make e2e-test