diff --git a/.github/workflows/selftest.yml b/.github/workflows/selftest.yml index 6e768f1..9e49651 100644 --- a/.github/workflows/selftest.yml +++ b/.github/workflows/selftest.yml @@ -17,4 +17,11 @@ jobs: uses: actions/checkout@v2 - name: Run gotestfmt working-directory: testdata - run: go test -v ./... | gotestfmt + run: go test -v ./... 2>&1 | tee /tmp/gotest.log | gotestfmt + - name: Upload test log + uses: actions/upload-artifact@v2 + if: always() + with: + name: test-log + path: /tmp/gotest.log + if-no-files-found: error \ No newline at end of file