aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-01-05 13:27:30 +0000
committermerakor <cem@ckyln.com>2021-01-05 13:27:30 +0000
commitbd53fedc904f1077a3f1f364d4ec7cafe4b20825 (patch)
tree03d4ba78e93b09eb3dc1b15302d82131a378b184
parent4da01c53e20038e7cbe8033911cbecca8bf995c1 (diff)
downloadcpt-bd53fedc904f1077a3f1f364d4ec7cafe4b20825.tar.gz
GitHub Actions: fix tests
FossilOrigin-Name: 4ea3cf274fd655ed0d4410201162cdadccf8ff67c231fa539b8844917464a72f
-rw-r--r--.github/workflows/main.yml14
1 files changed, 6 insertions, 8 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 0a39622..add1470 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -1,14 +1,8 @@
name: main
on: [push, pull_request]
jobs:
- setup:
- runs-on: ubuntu-latest
- steps:
- - name: Install shellspec
- run: curl -fsSL https://git.io/shellspec | sudo sh -s -- -p /usr/local -y
build:
runs-on: ubuntu-latest
- needs: setup
steps:
- uses: actions/checkout@v1
- name: Run do
@@ -18,5 +12,9 @@ jobs:
needs: build
steps:
- uses: actions/checkout@v1
- - run: ./tools/do test
- - run: shellspec
+ - 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