feat: Create Partner News “supported-by-beijing-two-zone-office-and-singapore’s-infocomm-media-development-authority-cofco-and-yit-hong-expand-end-to-end-interoperable-trade-digitalization-network-by-completing-new-pilot” imdatradetrust [skip test] #712
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Synpress | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
synpress: | |
if: ${{ !contains(github.event.pull_request.title, '[skip test]') }} | |
# https://github.com/drptbl/synpress-setup-example/blob/1d980157ef343de54f786e1115e1da590f1ba1d1/.github/workflows/e2e.yml#L49-L102 | |
name: Synpress e2e Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # pin@v2 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@8b122486cedac8393e77aa9734c3528886e4a1a8 # pin@v1 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6 # pin@v1 | |
- name: Cache Docker layers | |
uses: actions/cache@56461b9eb0f8438fd15c7a9968e3c9ebb18ceff1 # pin@v2 | |
with: | |
path: /tmp/.buildx-cache | |
key: ${{ runner.os }}-buildx-${{ github.sha }} | |
restore-keys: | | |
${{ runner.os }}-buildx- | |
- name: Run e2e tests | |
run: docker-compose up --build --exit-code-from synpress |