Skip to content

Commit

Permalink
removed running stack to see what breaks the test
Browse files Browse the repository at this point in the history
  • Loading branch information
elraphty committed Aug 29, 2024
1 parent a2d516e commit 4d3a407
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/prjob_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,20 @@ jobs:
run: |
git clone https://github.com/stakwork/sphinx-stack.git stack;
- name: Run Stack V2
# uses: nick-fields/retry@v2
# with:
# timeout_minutes: 10
# max_attempts: 3
run: |
GITACTION_ENV=gitactionenv docker compose -f ./stack/alts/v2.yml --project-directory . up -d;
sleep 240;
docker ps
docker logs alice.sphinx
docker logs bob.sphinx
docker wait sphinx-tribes-v2setup-1
# - name: Run Stack V2
# run: |
# GITACTION_ENV=gitactionenv docker compose -f ./stack/alts/v2.yml --project-directory . up -d;
# sleep 240;
# docker ps
# docker logs alice.sphinx
# docker logs bob.sphinx
# docker wait sphinx-tribes-v2setup-1

- name: Starting DB
run: docker compose -f ./docker/testdb-docker-compose.yml -p test_db up -d
# - name: Starting DB
# run: docker compose -f ./docker/testdb-docker-compose.yml -p test_db up -d

- name: Install cover
run: go get golang.org/x/tools/cmd/cover
# - name: Install cover
# run: go get golang.org/x/tools/cmd/cover

- name: Tests
run: V2_BOT_URL=http://localhost:3001 V2_BOT_TOKEN=xyzxyzxyz go test ./... -race -v -coverprofile=coverage.out && ./cover-check.sh coverage.out 8.4
Expand Down

0 comments on commit 4d3a407

Please sign in to comment.