From 1ba7f4d96ada5266051448f9c9985377e973d0e9 Mon Sep 17 00:00:00 2001 From: Luis Montero <17201527+fd0r@users.noreply.github.com> Date: Mon, 5 Aug 2024 16:46:15 +0200 Subject: [PATCH] chore: add simple ci to run end-to-end test This commit adds a simple ci to run the end-to-end demo with key-genaration. --- .github/workflows/ci.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..b7c7e99 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,38 @@ +name: End-to-end demo with key generation + +on: + pull_request: + branches: [ main ] + +jobs: + test-with-keygen: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Run make command + run: + echo "KEY_GEN=true" > .env + + make e2e-test + + test-without-keygen: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Run make command + run: + echo "KEY_GEN=false" > .env + + make e2e-test