We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8ecf1e commit 9d28c9eCopy full SHA for 9d28c9e
1 file changed
.github/workflows/test.yml
@@ -90,7 +90,9 @@ jobs:
90
- name: Store repository status
91
id: status-before
92
run: |
93
- echo "::set-output name=BEFORE::$(git status --porcelain -b)"
+ git_status=$(git status --porcelain -b)
94
+ echo "BEFORE=$git_status" >> $GITHUB_ENV
95
+ echo "Repository status before tests: $git_status"
96
- name: Show installed dependencies
97
run: python -m pip list
98
- name: Run tests on Ubuntu
@@ -108,7 +110,7 @@ jobs:
108
110
- name: Check for files left behind by test
109
111
if: matrix.os != 'windows-latest' && always()
112
- before="${{ steps.status-before.outputs.BEFORE }}"
113
+ before="${{ env.BEFORE }}"
114
after="$(git status --porcelain -b)"
115
if [[ "$before" != "$after" ]]; then
116
echo "git status from before: $before"
0 commit comments