Skip to content

Commit 6bc0c0f

Browse files
committed
Fix bats LIB_PATH env var
also remove some quotes to make the yaml look better lol
1 parent 01a4165 commit 6bc0c0f

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/version-base-build-test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,19 +87,19 @@ jobs:
8787
- name: Setup Bats and Bats libs
8888
uses: brokenpip3/[email protected]
8989
with:
90-
bats-version: '1.10.0'
90+
bats-version: 1.10.0
9191
support-version: 0.3.0
92-
support-path: '${{ github.workspace }}/.bats/bats-support'
92+
support-path: ${{ github.workspace }}/.bats/bats-support
9393
assert-version: 2.1.0
94-
assert-path: '${{ github.workspace }}/.bats/bats-assert'
94+
assert-path: ${{ github.workspace }}/.bats/bats-assert
9595
file-install: false
9696
detik-install: false
9797

9898
# LIB_PATH is a env var I use in the setup() function of my bats tests
9999
# it points to the folder containing bats-assert and bats-support
100100
- name: Run Test
101101
env:
102-
LIB_PATH: /usr/lib/
102+
LIB_PATH: ${{ github.workspace }}/.bats
103103
DOCKER_IMAGE: ${{ env.TAG }}
104104
run: bats tests/base.bats
105105

@@ -200,18 +200,18 @@ jobs:
200200
- name: Setup Bats and Bats libs
201201
uses: brokenpip3/[email protected]
202202
with:
203-
bats-version: '1.10.0'
203+
bats-version: 1.10.0
204204
support-version: 0.3.0
205-
support-path: '${{ github.workspace }}/.bats/bats-support'
205+
support-path: ${{ github.workspace }}/.bats/bats-support
206206
assert-version: 2.1.0
207-
assert-path: '${{ github.workspace }}/.bats/bats-assert'
207+
assert-path: ${{ github.workspace }}/.bats/bats-assert
208208
file-install: false
209209
detik-install: false
210210

211211
# LIB_PATH is a env var I use in the setup() function of my bats tests
212212
# it points to the folder containing bats-assert and bats-support
213213
- name: Run Test
214214
env:
215-
LIB_PATH: /usr/lib/
215+
LIB_PATH: ${{ github.workspace }}/.bats
216216
DOCKER_IMAGE: ${{ env.TAG }}
217217
run: bats tests/consumer-idris.bats

.github/workflows/version-devcontainer-build-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,18 +78,18 @@ jobs:
7878
- name: Setup Bats and Bats libs
7979
uses: brokenpip3/[email protected]
8080
with:
81-
bats-version: '1.10.0'
81+
bats-version: 1.10.0
8282
support-version: 0.3.0
83-
support-path: '${{ github.workspace }}/.bats/bats-support'
83+
support-path: ${{ github.workspace }}/.bats/bats-support
8484
assert-version: 2.1.0
85-
assert-path: '${{ github.workspace }}/.bats/bats-assert'
85+
assert-path: ${{ github.workspace }}/.bats/bats-assert
8686
file-install: false
8787
detik-install: false
8888

8989
# LIB_PATH is a env var I use in the setup() function of my bats tests
9090
# it points to the folder containing bats-assert and bats-support
9191
- name: Run Test
9292
env:
93-
LIB_PATH: /usr/lib/
93+
LIB_PATH: ${{ github.workspace }}/.bats
9494
DOCKER_IMAGE: ${{ env.TAG }}
9595
run: bats tests/devcontainer-idris.bats

0 commit comments

Comments
 (0)