Skip to content

Commit

Permalink
make truth path and results path dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
nikellepetrillo committed Dec 30, 2024
1 parent a034d79 commit 2360cd7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test_optimus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,9 @@ jobs:
INPUTS_DIR="$PIPELINE_DIR/test_inputs/$TEST_TYPE"
echo "Running tests with test type: $TEST_TYPE"
TRUTH_PATH="gs://broad-gotc-test-storage/Optimus/truth/$(echo "$TEST_TYPE" | tr '[:upper:]' '[:lower:]')/$TRUTH_BRANCH"
TRUTH_PATH="gs://broad-gotc-test-storage/$DOCKSTORE_PIPELINE_NAME/truth/$(echo "$TEST_TYPE" | tr '[:upper:]' '[:lower:]')/$TRUTH_BRANCH"
echo "Truth path: $TRUTH_PATH"
RESULTS_PATH="gs://broad-gotc-test-storage/Optimus/results/$CURRENT_TIME"
RESULTS_PATH="gs://broad-gotc-test-storage/$DOCKSTORE_PIPELINE_NAME/results/$CURRENT_TIME"
# Create the submission_data.json file which will be the same for all inputs
SUBMISSION_DATA_FILE="submission_data.json"
Expand Down Expand Up @@ -363,6 +363,7 @@ jobs:
METHOD_CONFIG_NAME: ${{ env.METHOD_CONFIG_NAME }}
WORKSPACE_NAMESPACE: ${{ env.WORKSPACE_NAMESPACE }}
USER: ${{ env.USER }}
DOCKSTORE_PIPELINE_NAME: ${{ env.DOCKSTORE_PIPELINE_NAME }}

- name: Delete Method Configuration
if: always() # Ensures it runs regardless of success or failure
Expand Down

0 comments on commit 2360cd7

Please sign in to comment.