-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Preparations for version 1.2.2 * Add installer scripts * Refurbishments & Add conda instructions * Update CI test and add Python version file * Add workflow_dispatch * Remove push * workflow_dispatch not needed * Use cplex==22.1.0 * Try cplex==22.1.1.2 * Try Python 3.10.14 * install cplex before cnapy * Pre-install jpype1 * Pre-install install-jdk>=1.1 * Pre-install pytest>=7.2 * Pre-install pyqt5 * use efmtool_link 0.0.8 * still need jpype1 install-jdk>=1.1 * try pip install * cleanup (?) * remove obsolete packaging instructions * Add openjdk; Enforce conda-forge; Fix run script * Fix extreme amount of bugs in install scripts * Set installers to 1.2.2 & Refurbish README * Info about conda package * README corrections and refurbishments * Fix Linux/MacOS installer * Fix Linux/MacOS installer again * Update CPLEX & Gurobi configuration dialogs --------- Co-authored-by: axelvonkamp <[email protected]> Co-authored-by: axelvonkamp <[email protected]>
- Loading branch information
1 parent
a081c0f
commit 299e08b
Showing
31 changed files
with
278 additions
and
986 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,61 @@ | ||
name: CI Test | ||
|
||
on: [push, pull_request] | ||
on: [pull_request] | ||
|
||
jobs: | ||
build-linux: | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: conda-incubator/setup-miniconda@v3 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
auto-update-conda: true | ||
python-version: ${{ matrix.python-version }} | ||
environment-file: environment.yml | ||
miniforge-version: latest | ||
activate-environment: cnapy | ||
python-version: '3.10' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install pytest>=7.2 | ||
- name: Install CNApy | ||
run: | | ||
pip install . | ||
- name: Test CNApy | ||
run: | | ||
conda init bash | ||
source ~/.bashrc | ||
conda activate cnapy | ||
python setup.py install | ||
pytest -v ./cnapy/tests/test.py | ||
build-windows: | ||
runs-on: "windows-latest" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: conda-incubator/setup-miniconda@v3 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
auto-update-conda: true | ||
python-version: ${{ matrix.python-version }} | ||
environment-file: environment.yml | ||
miniforge-version: latest | ||
activate-environment: cnapy | ||
python-version: '3.10' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install pytest>=7.2 | ||
- name: Install CNApy | ||
run: | | ||
pip install . | ||
- name: Test CNApy | ||
run: | | ||
pytest -v ./cnapy/tests/test.py | ||
build-macos: | ||
runs-on: "macos-latest" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install pytest>=7.2 | ||
- name: Install CNApy | ||
run: | | ||
pip install . | ||
- name: Test CNApy | ||
run: | | ||
python setup.py install | ||
pytest -v ./cnapy/tests/test.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.10 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.