Skip to content

Commit a8d83e5

Browse files
authored
Upgrading test workflow (#64)
1 parent 4f1779c commit a8d83e5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
- name: Install Poetry
3434
id: install-poetry
35-
uses: snok/install-poetry@v1.3.4
35+
uses: snok/install-poetry@v1.4.1
3636
with:
3737
virtualenvs-create: true
3838
virtualenvs-in-project: true
@@ -50,20 +50,20 @@ jobs:
5050
5151
- name: Install Conda for liblsl
5252
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
53-
uses: conda-incubator/setup-miniconda@v2
53+
uses: conda-incubator/setup-miniconda@v3
5454
with:
5555
auto-activate-base: true
5656
activate-environment: ""
57-
57+
5858
- name: Install liblsl
59+
shell: bash -el {0}
5960
run: |
6061
if [ "$RUNNER_OS" == "Linux" ]; then
6162
curl -OL https://github.com/sccn/liblsl/releases/download/v1.16.1/liblsl-1.16.1-focal_amd64.deb
6263
sudo apt install -y ./liblsl-1.16.1-focal_amd64.deb
6364
elif [ "$RUNNER_OS" == "macOS" ]; then
64-
curl -OL https://github.com/sccn/liblsl/releases/download/v1.16.1/liblsl-1.16.1-OSX_amd64.tar.bz2
65-
tar xvf liblsl-1.16.1-OSX_amd64.tar.bz2
66-
echo "PYLSL_LIB=$PWD/lib/liblsl.dylib" >> $GITHUB_ENV
65+
conda install -c conda-forge liblsl
66+
echo "PYLSL_LIB=$CONDA_PREFIX/lib/liblsl.dylib" >> $GITHUB_ENV
6767
elif [ "$RUNNER_OS" == "Windows" ]; then
6868
echo "liblsl will be installed by poetry"
6969
else

0 commit comments

Comments
 (0)