Skip to content

Commit a6c4bfe

Browse files
authored
oh lord, save me from this nightmare
1 parent 3214051 commit a6c4bfe

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/ironpython.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
curl -o ironpython-pytest.tar.gz -LJO https://pypi.debian.net/ironpython-pytest/latest
2323
2424
echo "Downloading COMPAS..."
25-
curl -o compas.tar.gz -LJO https://pypi.debian.net/COMPAS/compas-2.14.1.tar.gz
25+
curl -o compas.tar.gz -LJO https://pypi.debian.net/COMPAS/latest
2626
2727
echo "Downloading roslibpy..."
2828
curl -o roslibpy.tar.gz -LJO https://pypi.debian.net/roslibpy/roslibpy-1.8.1.tar.gz
@@ -36,14 +36,12 @@ jobs:
3636
echo "Installing ironpython-pytest..."
3737
ipy -X:Frames -m pip install --no-deps ironpython-pytest.tar.gz
3838
39-
echo "Installing COMPAS..."
40-
ipy -X:Frames -m pip install --no-deps compas.tar.gz
41-
4239
echo "Installing roslibpy..."
4340
ipy -X:Frames -m pip install --no-deps roslibpy.tar.gz
4441
45-
echo "Installing compas_robots..."
46-
ipy -X:Frames -m pip install --no-deps compas_robots.tar.gz
42+
rem untar and rename, these cannot be installed using ironpip because they not longer have a setup.py
43+
tar -xf compas.tar.gz && for /d %%i in (compas-*) do ren "%%i" compas
44+
tar -xf compas_robots.tar.gz && for /d %%i in (compas_robots-*) do ren "%%i" compas_robots
4745
- uses: NuGet/setup-nuget@v1.0.5
4846
- uses: compas-dev/compas-actions.ghpython_components@v5
4947
with:
@@ -54,10 +52,10 @@ jobs:
5452
echo "Testing import of compas_fab..."
5553
ipy -m compas_fab
5654
env:
57-
IRONPYTHONPATH: ./src
55+
IRONPYTHONPATH: ./src;./compas/src;./compas_robots/src
5856
- name: Run tests
5957
run: |
6058
echo "Running tests..."
6159
ipy tests/ipy_test_runner.py
6260
env:
63-
IRONPYTHONPATH: ./src
61+
IRONPYTHONPATH: ./src;./compas/src;./compas_robots/src

0 commit comments

Comments
 (0)