Skip to content

Commit

Permalink
try updating test inputs again
Browse files Browse the repository at this point in the history
  • Loading branch information
nikellepetrillo committed Dec 20, 2024
1 parent 7a0a54b commit e835494
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/test_illumina_genotyping_array.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
- name: Fetch Dockstore Workflow Commit Hash
run: |
# Wait 5.5 minutes for Dockstore to update
sleep 330
sleep 1
DOCKSTORE_COMMIT_HASH_FROM_FETCH=$(python scripts/dockstore_api/fetch_dockstore_commit.py \
$DOCKSTORE_TOKEN \
Expand All @@ -150,23 +150,23 @@ jobs:
DOCKSTORE_PIPELINE_NAME: ${{ env.DOCKSTORE_PIPELINE_NAME }}
BRANCH_NAME: ${{ env.BRANCH_NAME }}

- name: Compare Dockstore and Commit Hashes
id: compare_hashes
run: |
echo "Comparing hashes..."
echo "Dockstore Commit Hash: $DOCKSTORE_COMMIT_HASH"
echo "GitHub Commit Hash: $GITHUB_COMMIT_HASH"
if [ "$DOCKSTORE_COMMIT_HASH" != "$GITHUB_COMMIT_HASH" ]; then
echo "Error: The Dockstore Commit Hash does not match the GitHub Commit Hash!"
echo "Mismatch found: $DOCKSTORE_COMMIT_HASH != $GITHUB_COMMIT_HASH"
exit 1
else
echo "Success: The Dockstore Commit Hash matches the GitHub Commit Hash."
fi
env:
DOCKSTORE_COMMIT_HASH: ${{ env.DOCKSTORE_COMMIT_HASH }}
GITHUB_COMMIT_HASH: ${{ env.GITHUB_COMMIT_HASH }}
#- name: Compare Dockstore and Commit Hashes
# id: compare_hashes
# run: |
# echo "Comparing hashes..."
# echo "Dockstore Commit Hash: $DOCKSTORE_COMMIT_HASH"
# echo "GitHub Commit Hash: $GITHUB_COMMIT_HASH"
#
# if [ "$DOCKSTORE_COMMIT_HASH" != "$GITHUB_COMMIT_HASH" ]; then
# echo "Error: The Dockstore Commit Hash does not match the GitHub Commit Hash!"
# echo "Mismatch found: $DOCKSTORE_COMMIT_HASH != $GITHUB_COMMIT_HASH"
# exit 1
# else
# echo "Success: The Dockstore Commit Hash matches the GitHub Commit Hash."
# fi
# env:
# DOCKSTORE_COMMIT_HASH: ${{ env.DOCKSTORE_COMMIT_HASH }}
# GITHUB_COMMIT_HASH: ${{ env.GITHUB_COMMIT_HASH }}

- name: Set Test Type for PRs
if: ${{ github.event_name == 'pull_request' }}
Expand Down

0 comments on commit e835494

Please sign in to comment.