This repository has been archived by the owner on Jan 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add better logging for GitHub Actions (#410)
* Add better logging for GitHub Actions * Update UTs * Add GitHub Actions workflow * Typo * Logging * No name? * Fix tests for GHA * Fix tests * Fix tests again * Mistake * Add env vars * force * shellcheck * Update tests * Fix CircleCI * Fix CircleCI fo real * Not strict
- Loading branch information
1 parent
0f41bb7
commit fb8663d
Showing
8 changed files
with
90 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.7 | ||
- name: Extract shunit | ||
run: tar --strip-components=1 -zxvf tests/shunit2-2.1.8.tar.gz | ||
- name: Install Ruby dependencies | ||
run: | | ||
gem install bashcov | ||
gem install codecov | ||
- name: Run tests | ||
run: | | ||
env -i PATH="$PATH" | ||
bashcov tests/test | ||
shasum --algorithm 1 --check ./SHA1SUM | ||
shasum --algorithm 256 --check ./SHA256SUM | ||
shasum --algorithm 512 --check ./SHA512SUM | ||
- name: Upload Codecov | ||
run: | ||
bash ./codecov -Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ce0cfa65fe07b458037474f838759211bcfc17d1 codecov | ||
4dc681475a004f8cb8c1d8cf7c5aff3bd53d615b codecov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0526a487e02b0eb5f314cd23a4d5b54c4e2a3e20b68ed5a1f2517b76d5ea73b8 codecov | ||
ae4058f2f1f0d3f62e6a95e288616c2a3e9c8a4929d8cefd69e6c36da81d0963 codecov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
b9820fd0c585f98028fdbccf40ff440c96270e8779925257c8fbfa476523b9690fb97b3e1fc52e8a9c3667916b2a6493c76f36dcf700da48a1bd7ff647131b54 codecov | ||
6d01cca237aaf0627165e71d384dfc4f63b538fe463138f078e9a54b434350cf008bcd7dbf489d80985156d53475f9c1bb41b425320372d5028942cde795b0a7 codecov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters