Skip to content

Commit

Permalink
add system test build step
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholascus committed Jan 8, 2024
1 parent 09aeef5 commit 6091c7c
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
node-version: '18'
- run: yarn
- run: yarn test
e2e:
test-e2e:
runs-on: ubuntu-latest
name: End-to-end tests
needs: [test]
Expand All @@ -42,6 +42,19 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '18'
- run: yarn
- run: docker compose -f e2e/docker-compose.yml up -d
- run: docker compose -f e2e/docker-compose.yml exec playwright yarn e2e
- run: yarn test/e2e/docker
test-system:
runs-on: ubuntu-latest
name: End-to-end tests
needs: [test]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
- name: Load DigitalOcean Docker Registry config
env:
DOCKER_CONFIG: ${{ secrets.DOCKER_CONFIG }}
run: |
echo $DOCKER_CONFIG | base64 -d > $HOME/.docker/config.json
- run: yarn test/system/docker

0 comments on commit 6091c7c

Please sign in to comment.