Merge pull request #34 from antham/fix-linting-issue #139
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: E2E tests | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- master | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
env: | |
TAG: e2e | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build the image | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
load: true | |
file: ./Dockerfile.test | |
tags: ${{ env.TAG }} | |
- name: Run bash tests | |
run: | | |
docker run --rm ${{ env.TAG }} bash /usr/src/app/e2e-scripts/test.bash | |
- name: Run sh tests | |
run: | | |
docker run --rm ${{ env.TAG }} sh /usr/src/app/e2e-scripts/test.sh | |
- name: Run fish tests | |
run: | | |
docker run --rm ${{ env.TAG }} fish /usr/src/app/e2e-scripts/test.fish | |
- name: Run zsh tests | |
run: | | |
docker run --rm ${{ env.TAG }} zsh /usr/src/app/e2e-scripts/test.zsh |