Skip to content

Commit a722a85

Browse files
committed
Comment out still-problematic sections of workflow.
1 parent 2b49c81 commit a722a85

File tree

1 file changed

+39
-39
lines changed

1 file changed

+39
-39
lines changed

Diff for: .github/workflows/test.yml

+39-39
Original file line numberDiff line numberDiff line change
@@ -45,45 +45,45 @@ jobs:
4545
env:
4646
CI: true
4747

48-
- name: Simulate Failure Scenarios
49-
if: ${{ matrix.action == 'install' }}
50-
shell: ${{ startsWith(matrix.os, 'windows-latest') && 'pwsh' || 'bash' }}
51-
run: |
52-
# Fail download step intentionally
53-
echo "Testing download failure scenario"
54-
exit 1 # Simulate download failure
48+
# - name: Simulate Failure Scenarios
49+
# if: ${{ matrix.action == 'install' }}
50+
# shell: ${{ startsWith(matrix.os, 'windows-latest') && 'pwsh' || 'bash' }}
51+
# run: |
52+
# # Fail download step intentionally
53+
# echo "Testing download failure scenario"
54+
# exit 1 # Simulate download failure
5555

56-
- name: Simulate Report Command Failure
57-
if: ${{ matrix.action == 'report' }}
58-
shell: ${{ startsWith(matrix.os, 'windows-latest') && 'pwsh' || 'bash' }}
59-
run: |
60-
echo "Testing report command failure"
61-
~/bin/coveralls report # Simulated failure
56+
# - name: Simulate Report Command Failure
57+
# if: ${{ matrix.action == 'report' }}
58+
# shell: ${{ startsWith(matrix.os, 'windows-latest') && 'pwsh' || 'bash' }}
59+
# run: |
60+
# echo "Testing report command failure"
61+
# ~/bin/coveralls report # Simulated failure
6262

63-
- name: Simulate Done Command Failure
64-
if: ${{ matrix.action == 'done' }}
65-
shell: ${{ startsWith(matrix.os, 'windows-latest') && 'pwsh' || 'bash' }}
66-
run: |
67-
echo "Testing done command failure"
68-
~/bin/coveralls done # Simulated failure
63+
# - name: Simulate Done Command Failure
64+
# if: ${{ matrix.action == 'done' }}
65+
# shell: ${{ startsWith(matrix.os, 'windows-latest') && 'pwsh' || 'bash' }}
66+
# run: |
67+
# echo "Testing done command failure"
68+
# ~/bin/coveralls done # Simulated failure
6969

70-
- name: Verify Outcome
71-
shell: ${{ startsWith(matrix.os, 'windows-latest') && 'pwsh' || 'bash' }}
72-
run: |
73-
if [[ "${{ matrix.fail_on_error }}" == "true" ]]; then
74-
# Expect failure exit code
75-
if [[ $? -eq 0 ]]; then
76-
echo "Test failed: expected failure but action succeeded."
77-
exit 1
78-
else
79-
echo "Test succeeded: expected failure and action failed as expected."
80-
fi
81-
else
82-
# Expect success exit code
83-
if [[ $? -ne 0 ]]; then
84-
echo "Test failed: expected success but action failed."
85-
exit 1
86-
else
87-
echo "Test succeeded: expected success and action succeeded."
88-
fi
89-
fi
70+
# - name: Verify Outcome
71+
# shell: ${{ startsWith(matrix.os, 'windows-latest') && 'pwsh' || 'bash' }}
72+
# run: |
73+
# if [[ "${{ matrix.fail_on_error }}" == "true" ]]; then
74+
# # Expect failure exit code
75+
# if [[ $? -eq 0 ]]; then
76+
# echo "Test failed: expected failure but action succeeded."
77+
# exit 1
78+
# else
79+
# echo "Test succeeded: expected failure and action failed as expected."
80+
# fi
81+
# else
82+
# # Expect success exit code
83+
# if [[ $? -ne 0 ]]; then
84+
# echo "Test failed: expected success but action failed."
85+
# exit 1
86+
# else
87+
# echo "Test succeeded: expected success and action succeeded."
88+
# fi
89+
# fi

0 commit comments

Comments
 (0)