This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 17b29f1 Initial GH setup
17b29f1 is described below
commit 17b29f15a0e5d1b0342d87f8ac000acd3eaad439
Author: Sebb <[email protected]>
AuthorDate: Wed Mar 23 11:08:13 2022 +0000
Initial GH setup
---
.github/workflows/unittest.yml | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml
new file mode 100644
index 0000000..6929da1
--- /dev/null
+++ b/.github/workflows/unittest.yml
@@ -0,0 +1,22 @@
+name: Unit tests
+on:
+ workflow_dispatch:
+
+jobs:
+ test:
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [ubuntu-20.04, macos-latest]
+ ruby: [2.7, 3.1]
+ runs-on: ${{ matrix.os }}
+ steps:
+ - uses: actions/checkout@v2
+ - uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: ${{ matrix.ruby }}
+ bundler-cache: true
+ - name: test library code
+ run: |
+ cd lib
+ bundle exec rake