Skip to content

Commit

Permalink
Fix branch name check
Browse files Browse the repository at this point in the history
  • Loading branch information
jmythms committed Jan 24, 2025
1 parent e001819 commit 8c5ba55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ jobs:
- name: Run and profile workflow
run: |
branch_name="${{ github.ref_name }}"
if [[ $branch_name == 'refs/heads/master' ]]; then
echo "Running on branch: $branch_name"
if [[ $branch_name == 'master' ]]; then
steps=("ecm_prep" "run")
for step in "${steps[@]}"; do
psrecord --log memory_log_${step}.txt --include-children --interval 1 "python tests/integration_testing/run_workflow.py --run_step $step --yaml tests/integration_testing/integration_test.yml --with_profiler"
Expand Down

0 comments on commit 8c5ba55

Please # to comment.