Skip to content

Commit

Permalink
Define env vars in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
mmghannam committed Nov 13, 2023
1 parent a5bab89 commit b5bec9a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_ENVIRONMENT: "SCIPOPTDIR=./scip PATH=./scip/bin:$PATH"
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: "pytest {project}/tests"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ before-all = [
"mv .\\scip-test\\scip_install .\\test",
"mv .\\test .\\scip"
]
# environment = { SCIPOPTDIR=''}
environment = { SCIPOPTDIR='./scip', PATH='./scip/bin:$PATH'}

0 comments on commit b5bec9a

Please sign in to comment.