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,17 @@ jobs:
1828 with :
1929 path : ~/.conan
2030 key : ${{ runner.os }}-cache-conan-${{ matrix.compiler }}-${{ hashFiles('conanfile.py') }}-key
21- - name : Install conan
22- run : python3 -m pip install conan
31+
32+ - name : Setup conan
33+ run : |
34+ python3 -m pip install conan
35+ conan profile detect
36+
37+ - name : Install C++ dependencies using conan
38+ run : conan install . -o with_python=True -o with_testing=False --build=missing
39+
2340 - name : Install Python 🐍 distributions 📦
24- run : python3 -m pip install .
25- - name : Install pytest
26- run : python3 -m pip install pytest
41+ run : python3 -m pip install .[tests]
42+
2743 - name : run pytest
2844 run : python3 -m pytest tests/python -v
You can’t perform that action at this time.
0 commit comments