aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml19
1 files changed, 13 insertions, 6 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 48b29d9..add1470 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -1,13 +1,20 @@
-name: test
-
+name: main
on: [push, pull_request]
-
jobs:
build:
-
runs-on: ubuntu-latest
-
steps:
- uses: actions/checkout@v1
- - name: Run tests.
+ - name: Run do
+ run: ./tools/do
+ test:
+ runs-on: ubuntu-latest
+ needs: build
+ steps:
+ - uses: actions/checkout@v1
+ - name: Install shellspec
+ run: curl -fsSL https://git.io/shellspec | sudo sh -s -- -p /usr/local -y
+ - name: Run tests
run: ./tools/do test
+ - name: Run shellspec
+ run: shellspec