Skip to content

Commit

Permalink
Merge pull request #558 from DanielKotik/improve-ci
Browse files Browse the repository at this point in the history
Condition-based display of Conda environment diffs:
  • Loading branch information
DanielKotik authored Jul 4, 2024
2 parents bf14f35 + 4ba5dbe commit 0fed9cc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/cpu-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,13 @@ jobs:
# if comparison fails, `install/mala_cpu_[base]_environment.yml` needs to be aligned with
# `requirements.txt` and/or extra dependencies are missing in the Docker Conda environment
diff --side-by-side --color=always env_before.yml env_after.yml
if diff --brief env_before.yml env_after.yml
then
echo "Files env_before.yml and env_after.yml do not differ."
else
diff --side-by-side --color-always env_before.yml env_after.yml
fi
- name: Download test data repository from RODARE
shell: 'bash -c "docker exec -i mala-cpu python < {0}"'
Expand Down

0 comments on commit 0fed9cc

Please sign in to comment.