Commit graph

17 commits

Author SHA1 Message Date
Yuri Norwood
5b56c00cec
Apply suggestions from code review
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-03 09:51:49 +13:00
Yuri Norwood
6246a6ea8b
Simplify workflow by just using bash universally
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-02 10:25:27 +13:00
Yuri Norwood
d8476f1977
Fix artifact path
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-10-31 09:08:57 +13:00
Yuri Norwood
b5ad6db9f3
Name each workflow run of the matrix
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-10-31 09:07:38 +13:00
Yuri Norwood
d31d8ad0fa
Remove /tmp directory for artifacts
On MacOS, this results in:

```
Error: Provided rootDirectory /tmp is not a valid directory
```

On Windows this results in:

```
Error: No files were found with the provided path: /tmp/gotest.windows.log. No artifacts will be uploaded.
```

Both seem to be unhappy with `/tmp`, since the workspace is implicitly cleaned up at the end of the workflow, there shouldn't be a need to specify `/tmp`.

Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-10-31 09:05:21 +13:00
Yuri Norwood
8476589e0d
Separate windows step from *nix runners
This allows `bash` and `pwsh` syntax to be used separately to avoid having to write the test as a polyglot 😬

Also added `secrets.GITHUB_TOKEN` as a fallback in case the repo secret `secrets.GH_TOKEN` is not set up, e.g. in a fork.

Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-10-31 08:43:22 +13:00
Yuri Norwood
4e7133828b
Extend selftest workflow to multiple runners
This should help catch errors like #4 and #8 by ensuring that gotestfmt can run on all the major OS runners for GitHub Actions.

Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-10-28 11:23:23 +13:00
Michael Engel
ea487b2cee
added token to install (#7)
* added token to install
* removed on push trigger for selftest
2022-10-20 15:33:14 +02:00
Michael Engel
e110d38b81 added selftest for macos 2022-10-20 08:33:23 +01:00
Janos Bonic
3e91a15d55
Issue haveyoudebuggedit/gotestfmt#8: JSON support (#1) 2021-12-05 12:54:21 +00:00
Janos
ec3a52825f
More testing 2021-07-28 09:21:31 +02:00
Janos
03ad8ff09e
More testing 2021-07-28 09:19:39 +02:00
Janos
c3cb9a3d0c
More testing 2021-07-28 09:19:07 +02:00
Janos
fc8db34b00
More testing 2021-07-28 09:18:28 +02:00
Janos
1f6356c0db
More testing 2021-07-28 09:07:26 +02:00
Janos
2a45d3ea84
More testing 2021-07-28 08:30:44 +02:00
Janos
8a260b16ec
Testing actions 2021-07-28 08:24:31 +02:00