From a8f01411f68981a8dbcfe5cfb474a8c686efb0ad Mon Sep 17 00:00:00 2001 From: Diego Ferigo Date: Tue, 29 Jun 2021 13:39:27 +0200 Subject: [PATCH] [wip] --- .github/workflows/conda.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml index 3844acdb8..0ae221843 100644 --- a/.github/workflows/conda.yml +++ b/.github/workflows/conda.yml @@ -80,7 +80,7 @@ jobs: if: contains(matrix.os, 'macos') || contains(matrix.os, 'ubuntu') run: | cmake \ - -S . \ + -S scenario/ \ -B build \ -GNinja \ -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \ @@ -91,7 +91,7 @@ jobs: if: contains(matrix.os, 'windows') run: | cmake \ - -S . \ + -S scenario \ -B build/ \ -G"Visual Studio 16 2019" \ -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \ @@ -101,10 +101,13 @@ jobs: - name: Build run: cmake --build build/ --config ${{ matrix.build_type }} - - name: Install + - name: Install C++ + run: cmake --build build/ --target install + + - name: Install Python run: | - cmake --build build/ --target install - pip install --no-deps -e . + pip install -e scenario + pip install -e .[test] - name: Inspect Python ABI (core) run: ldd /usr/share/miniconda/envs/ci/lib/python3.8/site-packages/scenario/bindings/_core.so @@ -113,6 +116,4 @@ jobs: run: ldd /usr/share/miniconda/envs/ci/lib/python3.8/site-packages/scenario/bindings/_gazebo.so - name: Test - run: | - pip install gym-ignition-models - python -m pytest tests/ + run: pytest tests/