Skip to content

Commit

Permalink
Split MOSEK and non-MOSEK tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sdahdah committed Sep 26, 2024
1 parent 21073ad commit 247bd82
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/test-package-no-mosek.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Test package (no MOSEK)
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{matrix.python-version}}
uses: actions/setup-python@v2
with:
python-version: ${{matrix.python-version}}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements-dev.txt
- name: Test with pytest
run: |
pytest --exitfirst -k "not mosek"
2 changes: 1 addition & 1 deletion .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.12']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{matrix.python-version}}
Expand Down

0 comments on commit 247bd82

Please sign in to comment.