Browse Source

Run conan profile detection after switching compiler

Should fix failing UT
Jelle Spijker 1 year ago
parent
commit
0ad2687bdb
1 changed files with 4 additions and 3 deletions
  1. 4 3
      .github/workflows/unit-test.yml

+ 4 - 3
.github/workflows/unit-test.yml

@@ -87,9 +87,7 @@ jobs:
                     cache-dependency-path: .github/workflows/requirements-conan-package.txt
 
             -   name: Install Python requirements and Create default Conan profile
-                run: |
-                    pip install -r requirements-conan-package.txt
-                    conan profile new default --detect
+                run: pip install -r requirements-conan-package.txt
                 working-directory: .github/workflows/
 
             -   name: Use Conan download cache (Bash)
@@ -126,6 +124,9 @@ jobs:
             -   name: Get Conan configuration
                 run: conan config install https://github.com/Ultimaker/conan-config.git
 
+            -   name: Get Conan profile
+                run: conan profile new default --detect --force
+
             -   name: Install dependencies
                 run: conan install . ${{ needs.conan-recipe-version.outputs.recipe_id_full }} --build=missing --update -o cura:devtools=True  -g VirtualPythonEnv -if venv