aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-01-05 13:14:11 +0000
committermerakor <cem@ckyln.com>2021-01-05 13:14:11 +0000
commit75c3fb6284581158e409964d19dd87a6f54ed18d (patch)
tree3648e1e14faac44130930c434c0422a9a3dd3447
parent3df8f4bd03cc2d087c1abfb340e9d2949e2f91ad (diff)
downloadcpt-75c3fb6284581158e409964d19dd87a6f54ed18d.tar.gz
GitHub Actions: update workflow
FossilOrigin-Name: b9a7a778edf0b1cada4e2353294bbc802ab8256368fb9922de2fc72ade2a679d
-rw-r--r--.github/workflows/main.yml22
1 files changed, 15 insertions, 7 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 48b29d9..47384aa 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -1,13 +1,21 @@
-name: test
-
+name: main
on: [push, pull_request]
-
jobs:
+ setup:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Install shellspec
+ run: curl -fsSL https://git.io/shellspec | sh -s -- -p /usr/local -y
build:
-
runs-on: ubuntu-latest
-
+ needs: setup
steps:
- uses: actions/checkout@v1
- - name: Run tests.
- run: ./tools/do test
+ - name: Run do
+ run: ./tools/do
+ test:
+ runs-on: ubuntu-latest
+ needs: build
+ steps:
+ - run: ./tools/do test
+ - run: shellspec