Skip to content

Merge pull request #25 from compas-rrc/compas_2.x-compat #5

Merge pull request #25 from compas-rrc/compas_2.x-compat

Merge pull request #25 from compas-rrc/compas_2.x-compat #5

Workflow file for this run

name: ironpython
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: windows-ironpython
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
choco install ironpython --version=2.7.8.1
curl -o ironpython-pytest.tar.gz -LJO https://pypi.debian.net/ironpython-pytest/latest
curl -o roslibpy.tar.gz -LJO https://pypi.debian.net/roslibpy/latest
curl -o compas.tar.gz -LJO https://pypi.debian.net/compas/latest
curl -o compas_robots.tar.gz -LJO https://pypi.debian.net/compas_robots/latest
curl -o compas_fab.tar.gz -LJO https://pypi.debian.net/compas_fab/latest
ipy -X:Frames -m ensurepip
ipy -X:Frames -m pip install --no-deps ironpython-pytest.tar.gz
ipy -X:Frames -m pip install --no-deps roslibpy.tar.gz
ipy -X:Frames -m pip install --no-deps compas.tar.gz
ipy -X:Frames -m pip install --no-deps compas_robots.tar.gz
ipy -X:Frames -m pip install --no-deps compas_fab.tar.gz
# - uses: NuGet/[email protected]
# - uses: compas-dev/compas-actions.ghpython_components@v5
# with:
# source: src/compas_rrc/ghpython/components
# target: src/compas_rrc/ghpython/components/ghuser
- name: Test import
run: |
ipy -c "import compas_rrc"
env:
IRONPYTHONPATH: ./src
- name: Run tests
run: |
ipy tests/ipy_test_runner.py
env:
IRONPYTHONPATH: ./src