mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Github Actions: Reintroduce python tests for linux.
Also unify "unit test" step since it was the same for both platforms.
This commit is contained in:
parent
4dfcc7e45b
commit
b2ec95fba4
13
.github/workflows/ResInsightWithCache.yml
vendored
13
.github/workflows/ResInsightWithCache.yml
vendored
@ -205,20 +205,13 @@ jobs:
|
||||
- name: Stats for buildcache
|
||||
run: ${{ github.workspace }}/buildcache/bin/buildcache -s
|
||||
|
||||
- name: (Windows) Run Unit Tests
|
||||
if: contains( matrix.config.os, 'windows')
|
||||
- name: Run Unit Tests
|
||||
shell: bash
|
||||
run: |
|
||||
cmakebuild/ApplicationCode/ResInsight --unittest
|
||||
- name: (Linux) Run Unit Tests
|
||||
if: "!contains( matrix.config.os, 'windows')"
|
||||
shell: bash
|
||||
run: |
|
||||
cmakebuild/ApplicationCode/ResInsight --unittest
|
||||
- name: (Windows) Run pytest
|
||||
if: contains( matrix.config.os, 'windows')
|
||||
- name: Run pytest
|
||||
env:
|
||||
RESINSIGHT_EXECUTABLE: ${{ runner.workspace }}/ResInsight/cmakebuild/ApplicationCode/ResInsight.exe
|
||||
RESINSIGHT_EXECUTABLE: ${{ runner.workspace }}/ResInsight/cmakebuild/ApplicationCode/ResInsight
|
||||
run: |
|
||||
cd ApplicationCode/GrpcInterface/Python/rips
|
||||
${{ steps.python-path.outputs.PYTHON_EXECUTABLE }} -m pytest --console
|
||||
|
Loading…
Reference in New Issue
Block a user