diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 74589f1..71c7adf 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -20,29 +20,29 @@ on: - LICENSE jobs: - checkout: + checkout-v5: runs-on: ubuntu-latest steps: - name: Checkout project uses: actions/checkout@v4 - - name: Build checkout-example image - run: docker build -t checkout-example-image:latest checkout-example - - name: Start checkout-example container - run: docker run --rm -d --name checkout-example-image -p 8080:80 -e ADYEN_API_KEY="${{ secrets.ADYEN_API_KEY }}" -e ADYEN_MERCHANT_ACCOUNT=${{ secrets.ADYEN_MERCHANT_ACCOUNT }} -e ADYEN_CLIENT_KEY=${{ secrets.ADYEN_CLIENT_KEY }} -e ADYEN_HMAC_KEY=${{ secrets.ADYEN_HMAC_KEY }} checkout-example-image:latest - - name: Run testing suite against checkout-example-image - run: docker run --rm --name adyen-testing-suite -e ADYEN_HMAC_KEY=${{ secrets.ADYEN_HMAC_KEY }} -e PLAYWRIGHT_FOLDERNAME=checkout --network host ghcr.io/adyen-examples/adyen-testing-suite:main + - name: Build checkout-example-v5 image + run: docker build -t checkout-example-v5-image:latest checkout-example + - name: Start checkout-example-v5 container + run: docker run --rm -d --name checkout-example-v5-image -p 8080:80 -e ADYEN_API_KEY="${{ secrets.ADYEN_API_KEY }}" -e ADYEN_MERCHANT_ACCOUNT=${{ secrets.ADYEN_MERCHANT_ACCOUNT }} -e ADYEN_CLIENT_KEY=${{ secrets.ADYEN_CLIENT_KEY }} -e ADYEN_HMAC_KEY=${{ secrets.ADYEN_HMAC_KEY }} checkout-example-v5-image:latest + - name: Run testing suite against checkout-example-v5-image + run: docker run --rm --name adyen-testing-suite -e ADYEN_HMAC_KEY=${{ secrets.ADYEN_HMAC_KEY }} -e PLAYWRIGHT_FOLDERNAME=checkout/v5 --network host ghcr.io/adyen-examples/adyen-testing-suite:main - checkout-advanced: + checkout-advanced-v5: runs-on: ubuntu-latest steps: - name: Checkout Advanced project uses: actions/checkout@v4 - - name: Build checkout-example-advanced image - run: docker build -t checkout-example-advanced-image:latest checkout-example-advanced - - name: Start checkout-example-advanced container - run: docker run --rm -d --name checkout-example-advanced-image -p 8080:80 -e ADYEN_API_KEY="${{ secrets.ADYEN_API_KEY }}" -e ADYEN_MERCHANT_ACCOUNT=${{ secrets.ADYEN_MERCHANT_ACCOUNT }} -e ADYEN_CLIENT_KEY=${{ secrets.ADYEN_CLIENT_KEY }} -e ADYEN_HMAC_KEY=${{ secrets.ADYEN_HMAC_KEY }} checkout-example-advanced-image:latest - - name: Run testing suite against checkout-example-advanced-image - run: docker run --rm --name adyen-testing-suite -e ADYEN_HMAC_KEY=${{ secrets.ADYEN_HMAC_KEY }} -e PLAYWRIGHT_FOLDERNAME=advanced-checkout --network host ghcr.io/adyen-examples/adyen-testing-suite:main + - name: Build checkout-example-advanced-v5 image + run: docker build -t checkout-example-advanced-v5-image:latest checkout-example-advanced + - name: Start checkout-example-advanced-v5 container + run: docker run --rm -d --name checkout-example-advanced-v5-image -p 8080:80 -e ADYEN_API_KEY="${{ secrets.ADYEN_API_KEY }}" -e ADYEN_MERCHANT_ACCOUNT=${{ secrets.ADYEN_MERCHANT_ACCOUNT }} -e ADYEN_CLIENT_KEY=${{ secrets.ADYEN_CLIENT_KEY }} -e ADYEN_HMAC_KEY=${{ secrets.ADYEN_HMAC_KEY }} checkout-example-advanced-v5-image:latest + - name: Run testing suite against checkout-example-advanced-v5-image + run: docker run --rm --name adyen-testing-suite -e ADYEN_HMAC_KEY=${{ secrets.ADYEN_HMAC_KEY }} -e PLAYWRIGHT_FOLDERNAME=advanced-checkout/v5 --network host ghcr.io/adyen-examples/adyen-testing-suite:main subscription: runs-on: ubuntu-latest