Skip to content

Commit

Permalink
arranging the tests to be more accurate
Browse files Browse the repository at this point in the history
  • Loading branch information
Iximiel committed Aug 30, 2024
1 parent 559e82f commit 1ba82a9
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
echo "plumed path:${{ steps.plumed.outputs.plumed_prefx }}"
ls ${{ steps.plumed.outputs.plumed_prefx }}/bin
head ${{ steps.plumed.outputs.dependency_file }}
plumed --version
plumed info --version
test_conf_fail:
# strategy:
Expand All @@ -65,13 +65,9 @@ jobs:
CXX: "not a valid compiler"
id: plumed
- name: check if a failure occured
if: steps.plumed.outcome == failure()
run: echo "Plumed installation failed as expected"
- name: check if a failure has not occured
if: steps.plumed.outcome == success()
run: |
echo "Plumed installation did not failed as expected"
exit 1
if [[ ${{ steps.plumed.outcome }} == 'failure' ]]; then echo "Plumed installation failed as expected"; exit 0; else echo "Plumed installation did not failed as expected"; exit 1; fi
# test_stable:
# # strategy:
# # matrix:
Expand Down

0 comments on commit 1ba82a9

Please sign in to comment.