Skip to content

Commit f1c7e0f

Browse files
committed
[ci] Use hererocks activate script
1 parent e01bb65 commit f1c7e0f

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,15 @@ jobs:
1717
run: |
1818
pip install hererocks
1919
hererocks lua_install -r^ --${{ matrix.lua }}
20-
export PATH=$PATH:$PWD/lua_install/bin
2120
luarocks install lua-cjson2
2221
env:
2322
MACOSX_DEPLOYMENT_TARGET: 11.0
2423
- name: Build lua-simdjson
2524
run: |
26-
export PATH=$PATH:$PWD/lua_install/bin
25+
source lua_install/bin/activate
2726
luarocks make
2827
- name: Run tests
2928
run: |
30-
export PATH=$PATH:$PWD/lua_install/bin
29+
source lua_install/bin/activate
3130
luarocks install busted
3231
busted --verbose

0 commit comments

Comments
 (0)