Skip to content

Commit

Permalink
Merge pull request #1275 from golemfactory/mwu/ci-split
Browse files Browse the repository at this point in the history
[CI] Make goth.yml to use artifact from rust.yml
  • Loading branch information
tworec authored Apr 27, 2021
2 parents 753c287 + c25f488 commit 4f0bc89
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/goth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,21 @@ jobs:
- name: Log in to GitHub Docker repository
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login docker.pkg.github.com -u ${{github.actor}} --password-stdin

# - name: Download Yagna artifact
# uses: actions/download-artifact@v2
# with:
# name: 'Yagna Linux'
# path: /tmp/yagna-build
- name: Download artifact
uses: dawidd6/action-download-artifact@v2
with:
workflow: rust.yml
commit: ${{github.event.workflow_run.head_sha}}
workflow_conclusion: success
name: 'Yagna Linux'
path: /tmp/yagna-build

- name: Run test suite
env:
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
poetry run poe goth-assets
poetry run poe goth-tests --config-override docker-compose.build-environment.commit-hash=${{ github.event.workflow_run.head_sha }}
# poetry run poe goth-tests --config-override docker-compose.build-environment.binary-path=/tmp/yagna-build
poetry run poe goth-tests --config-override docker-compose.build-environment.binary-path=/tmp/yagna-build
- name: Upload test logs
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 4f0bc89

Please sign in to comment.