Skip to content

Commit

Permalink
checkout branch in workflow so files are available
Browse files Browse the repository at this point in the history
  • Loading branch information
bohandley committed Mar 7, 2024
1 parent 9b47674 commit 4bd1757
Showing 1 changed file with 31 additions and 2 deletions.
33 changes: 31 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,38 @@ jobs:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Go environment
uses: actions/setup-go@v4
with:
go-version: '1.21.6'

# - name: Test backend
# uses: magefile/mage-action@v2
# with:
# version: latest
# args: coverage
# - name: Build backend
# uses: magefile/mage-action@v2
# with:
# version: latest
# args: buildAll
# - name: Setup Node
# uses: actions/setup-node@v3
# with:
# node-version: 20
# - name: Install dependencies
# run: npm install -g yarn && yarn install --frozen-lockfile;
# - name: Spellcheck
# run: |
# yarn spellcheck;
# - name: Build Frontend
# run: |
# yarn build;
- name: Start the docker container for E2E
run: |
docker-compose -f docker-compose-debug.yaml pull
docker compose -f docker-compose-debug.yaml pull
docker compose -f docker-compose-debug.yaml up
- name: Wait for grafana to start
uses: nev7n/wait_for_response@v1
Expand All @@ -38,4 +67,4 @@ jobs:
retention-days: 30
- name: Stop the docker container
if: always()
run: docker-compose down
run: docker-compose -f docker-compose-debug.yaml down

0 comments on commit 4bd1757

Please sign in to comment.