Skip to content

Commit

Permalink
chore: fixed ci configs
Browse files Browse the repository at this point in the history
  • Loading branch information
mgordel committed Feb 7, 2024
1 parent b5e7b39 commit 267b17f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/actions/prepare-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ runs:
shell: bash
run: |
sleep 10
docker exec -t docker-requestor-1 /bin/sh -c "/golem-js/tests/docker/fundRequestor.sh"
docker exec -t docker-requestor-1 /bin/sh -c "/golem-sdk-task-executor/tests/docker/fundRequestor.sh"
- name: Install and build the SDK in the docker container
shell: bash
run: |
docker exec -t docker-requestor-1 /bin/sh -c "cd /golem-js && npm i && npm run build && ./node_modules/.bin/cypress install && npm install --prefix examples && npm install ts-node"
docker exec -t docker-requestor-1 /bin/sh -c "cd /golem-sdk-task-executor && npm i && npm run build && ./node_modules/.bin/cypress install && npm install --prefix examples && npm install ts-node"
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
uses: ./.github/actions/prepare-tests

- name: Start the E2E test
run: docker exec -t docker-requestor-1 /bin/sh -c "cd /golem-js && npm run test:e2e"
run: docker exec -t docker-requestor-1 /bin/sh -c "cd /golem-sdk-task-executor && npm run test:e2e"

- name: Upload E2E reports
uses: actions/upload-artifact@v3
Expand All @@ -115,10 +115,10 @@ jobs:
uses: ./.github/actions/prepare-tests

- name: Run web server
run: docker exec -t -d docker-requestor-1 /bin/sh -c "cd /golem-js/examples/web && node app.mjs"
run: docker exec -t -d docker-requestor-1 /bin/sh -c "cd /golem-sdk-task-executor/examples/web && node app.mjs"

- name: Run test suite
run: docker exec -t docker-requestor-1 /bin/sh -c "cd /golem-js && npm run test:cypress -- --browser chromium"
run: docker exec -t docker-requestor-1 /bin/sh -c "cd /golem-sdk-task-executor && npm run test:cypress -- --browser chromium"

- name: Upload test logs
uses: actions/upload-artifact@v3
Expand All @@ -143,7 +143,7 @@ jobs:
uses: ./.github/actions/prepare-tests

- name: Run the Examples tests
run: docker exec -t docker-requestor-1 /bin/sh -c "cd /golem-js && npm run test:examples -- --exitOnError"
run: docker exec -t docker-requestor-1 /bin/sh -c "cd /golem-sdk-task-executor && npm run test:examples -- --exitOnError"

- name: Cleanup test environment
uses: ./.github/actions/cleanup-tests
Expand Down

0 comments on commit 267b17f

Please sign in to comment.