Skip to content

Commit

Permalink
python workflow runner version downgrade, test new on another branch.…
Browse files Browse the repository at this point in the history
… specify g++ over clang
  • Loading branch information
galabovaa committed Jan 8, 2025
1 parent 379b0cc commit d98756c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ jobs:
# ubuntu 22 has a latest version of cmake, but setup-python
# does not seem to provide all necessary modules to find python
# from cmake. works on my machine, test the wheels manually
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
# strategy:
# matrix:
# python: [3.12]
strategy:
matrix:
python: [3.10]

- name: Install correct python version
uses: actions/setup-python@v5
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Configure CMake
shell: bash
working-directory: ${{runner.workspace}}/build
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Debug -DHIGHS_COVERAGE=ON -DALL_TESTS=ON -DBUILD_SHARED_LIBS=OFF
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Debug -DHIGHS_COVERAGE=ON -DALL_TESTS=ON -DBUILD_SHARED_LIBS=OFF -D CMAKE_C_COMPILER=gcc -D CMAKE_CXX_COMPILER=g++

- name: Build
working-directory: ${{runner.workspace}}/build
Expand All @@ -48,5 +48,10 @@ jobs:
lcov --remove cov.info "src/test*" -o cov.info
lcov --list cov.info
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: ERGO-Code/HiGHS


0 comments on commit d98756c

Please sign in to comment.