Skip to content

Commit

Permalink
updated release check
Browse files Browse the repository at this point in the history
  • Loading branch information
msciabarra committed Sep 15, 2023
1 parent 84681eb commit b3621de
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,31 @@ jobs:
go-version: '>=1.20.2'
- name: Run test
run: go test -v

bats-test:
name: Bats Test
runs-on: ubuntu-latest
steps:
- name: Checkout recursive
uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-go@v4
with:
go-version: '>=1.20.2'
- name: Build nuv
run: |
go build -o nuv
mv nuv /usr/local/bin
- name: Run bats test
working-directory: ./tests
run: |
rm -Rf ~/.nuv/olaris
bats/bin/bats .
release:
needs: check
needs: [check, bats-test]
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit b3621de

Please sign in to comment.