aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-02-04 10:11:35 +0000
committermerakor <cem@ckyln.com>2021-02-04 10:11:35 +0000
commit63c4051197cfcad2231de6eb9874055d668f47df (patch)
tree53d3b3e340570e1dda7d763a5071bafe0ad56543 /.github/workflows
parent37d93c5413b1025c8490b57edf2dea821320d2ca (diff)
parent8d5398a76eda8beec3e7458a1400b9a363afce3d (diff)
downloadcpt-63c4051197cfcad2231de6eb9874055d668f47df.tar.gz
Merge branch 'shellspec'
FossilOrigin-Name: 9f02ac446d6b0e692389a85882df0ff8b2ac54ea40c0f040c5c4dd1713456a21
Diffstat (limited to '.github/workflows')
-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