Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin compas version in ironpython workflow #427

Merged
merged 1 commit into from
May 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion .github/workflows/ironpython.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,34 @@ jobs:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
echo "Installing IronPython..."
choco install ironpython --version=2.7.8.1

echo "Downloading ironpython-pytest..."
curl -o ironpython-pytest.tar.gz -LJO https://pypi.debian.net/ironpython-pytest/latest
curl -o compas.tar.gz -LJO https://pypi.debian.net/COMPAS/latest

echo "Downloading COMPAS..."
curl -o compas.tar.gz -LJO https://pypi.debian.net/COMPAS/COMPAS-2.1.0.tar.gz

echo "Downloading roslibpy..."
curl -o roslibpy.tar.gz -LJO https://pypi.debian.net/roslibpy/latest

echo "Downloading compas_robots..."
curl -o compas_robots.tar.gz -LJO https://pypi.debian.net/compas_robots/latest

echo "Setting up IronPython environment..."
ipy -X:Frames -m ensurepip

echo "Installing ironpython-pytest..."
ipy -X:Frames -m pip install --no-deps ironpython-pytest.tar.gz

echo "Installing COMPAS..."
ipy -X:Frames -m pip install --no-deps compas.tar.gz

echo "Installing roslibpy..."
ipy -X:Frames -m pip install --no-deps roslibpy.tar.gz

echo "Installing compas_robots..."
ipy -X:Frames -m pip install --no-deps compas_robots.tar.gz
- uses: NuGet/[email protected]
- uses: compas-dev/compas-actions.ghpython_components@v5
Expand All @@ -33,11 +52,13 @@ jobs:
target: src/compas_fab/ghpython/components/ghuser
- name: Test import
run: |
echo "Testing import of compas_fab..."
ipy -m compas_fab
env:
IRONPYTHONPATH: ./src
- name: Run tests
run: |
echo "Running tests..."
ipy tests/ipy_test_runner.py
env:
IRONPYTHONPATH: ./src
Loading