From 75c3fb6284581158e409964d19dd87a6f54ed18d Mon Sep 17 00:00:00 2001 From: merakor Date: Tue, 5 Jan 2021 13:14:11 +0000 Subject: GitHub Actions: update workflow FossilOrigin-Name: b9a7a778edf0b1cada4e2353294bbc802ab8256368fb9922de2fc72ade2a679d --- .github/workflows/main.yml | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to '.github/workflows/main.yml') 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 -- cgit v1.2.3 From 6cbbd31889fa7222aedaf88bc3337087122f98fe Mon Sep 17 00:00:00 2001 From: merakor Date: Tue, 5 Jan 2021 13:15:39 +0000 Subject: GitHub Actions: fix permission error FossilOrigin-Name: 85c0989d6f7a9a18e0b0fd9ae66457107ae5a4ad37a5b9b0642262fad04febcc --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows/main.yml') diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 47384aa..97598e4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,7 +5,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Install shellspec - run: curl -fsSL https://git.io/shellspec | sh -s -- -p /usr/local -y + run: curl -fsSL https://git.io/shellspec | sudo sh -s -- -p /usr/local -y build: runs-on: ubuntu-latest needs: setup -- cgit v1.2.3 From 4da01c53e20038e7cbe8033911cbecca8bf995c1 Mon Sep 17 00:00:00 2001 From: merakor Date: Tue, 5 Jan 2021 13:20:24 +0000 Subject: GitHub Actions: fix tests FossilOrigin-Name: e3de3b8e122b1c149ce812f736a26865c3094f9849c1c920b2174a8a316a754b --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.github/workflows/main.yml') diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 97598e4..0a39622 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,5 +17,6 @@ jobs: runs-on: ubuntu-latest needs: build steps: + - uses: actions/checkout@v1 - run: ./tools/do test - run: shellspec -- cgit v1.2.3 From bd53fedc904f1077a3f1f364d4ec7cafe4b20825 Mon Sep 17 00:00:00 2001 From: merakor Date: Tue, 5 Jan 2021 13:27:30 +0000 Subject: GitHub Actions: fix tests FossilOrigin-Name: 4ea3cf274fd655ed0d4410201162cdadccf8ff67c231fa539b8844917464a72f --- .github/workflows/main.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to '.github/workflows/main.yml') 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 -- cgit v1.2.3