Skip to content

Commit

Permalink
install pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
ydaveluy committed Jul 15, 2024
1 parent b40b64c commit 7502df4
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ jobs:
steps:
- name: Setup Maven Action
uses: s4u/[email protected]
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
cache: pip # caching pip dependencies
- name: install pytest
run: |
pip install pytest
- name: Build with Maven
uses: coactions/setup-xvfb@v1
with:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@ jobs:
uses: s4u/[email protected]
with:
checkout-fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
cache: pip # caching pip dependencies
- name: install pytest
run: |
pip install pytest
- name: Cache SonarCloud packages
uses: actions/cache@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions org.eclipse.xsmp.profile.xsmp-sdk.tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
GTest::gtest_main
)

#include(Pytest)
#pytest_discover_tests()
include(Pytest)
pytest_discover_tests()
endif()


1 change: 1 addition & 0 deletions org.eclipse.xsmp.profile.xsmp-sdk.tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
</goals>
<configuration>
<buildDirectory>${project.build.directory}/Debug</buildDirectory>
<config>Debug</config>
</configuration>
</execution>
</executions>
Expand Down

0 comments on commit 7502df4

Please sign in to comment.