Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(galactica): e2e tests config cherry-picked #948

Merged
merged 1 commit into from
Jan 16, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .github/workflows/test-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,24 @@ jobs:
THOR_IMAGE: vechain/thor:${{ github.sha }}
name: Run Tests
steps:
# Main: https://github.com/vechain/thor-e2e-tests/tree/956b34bcf5b0b072cd7c8fd2e546a9beb66a866a
# For release branches, names in the thor and thor-e2e-tests repos should match
- name: Set e2e repo reference
id: set-ref
run: |
if [[ "${{ github.event.pull_request.base.ref }}" == release/* ]]; then
echo "ref=${{ github.event.pull_request.base.ref }}" >> "$GITHUB_OUTPUT"
elif [[ "${{ github.head_ref }}" == release/* ]]; then
echo "ref=${{ github.head_ref }}" >> "$GITHUB_OUTPUT"
else
echo "ref=956b34bcf5b0b072cd7c8fd2e546a9beb66a866a" >> "$GITHUB_OUTPUT"
fi

- name: Checkout
uses: actions/checkout@v4
with:
repository: vechain/thor-e2e-tests
# https://github.com/vechain/thor-e2e-tests/tree/956b34bcf5b0b072cd7c8fd2e546a9beb66a866a
ref: 956b34bcf5b0b072cd7c8fd2e546a9beb66a866a
ref: ${{ steps.set-ref.outputs.ref }}

- name: Download artifact
uses: actions/download-artifact@v4
Expand Down
Loading