File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Check 🐍 pkg PROPOSAL.
22
3- on : [push]
3+ on :
4+ push :
5+ branches :
6+ - main
7+ tags :
8+ - " **"
9+ pull_request :
10+
11+ env :
12+ CMAKE_TOOLCHAIN_FILE : build/conan_toolchain.cmake
413
514jobs :
615 build :
1019 include :
1120 - os : " ubuntu-latest"
1221 - os : " macos-latest"
22+
1323 steps :
1424 - uses : actions/checkout@v2
1525 - name : Cache conan
@@ -18,11 +28,15 @@ jobs:
1828 with :
1929 path : ~/.conan
2030 key : ${{ runner.os }}-cache-conan-${{ matrix.compiler }}-${{ hashFiles('conanfile.py') }}-key
31+
2132 - name : Install conan
2233 run : python3 -m pip install conan
34+
35+ - name : Get dependencies via conan
36+ run : conan install . -o with_python=True -o with_testing=False --build=missing
37+
2338 - name : Install Python 🐍 distributions 📦
24- run : python3 -m pip install .
25- - name : Install pytest
26- run : python3 -m pip install pytest
39+ run : python3 -m pip install .[tests]
40+
2741 - name : run pytest
2842 run : python3 -m pytest tests/python -v
You can’t perform that action at this time.
0 commit comments