Skip to content

Commit

Permalink
Merge branch 'ci-fix' into installer_update
Browse files Browse the repository at this point in the history
  • Loading branch information
samgdotson committed Sep 10, 2024
2 parents c8ae161 + 8f4e0c5 commit e45e08d
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,15 @@ permissions:
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ${{ fromJSON(needs.build.outputs.python-versions) }}
os:
- ubuntu-latest
- macos-latest
- windows-latest

defaults:
run:
Expand All @@ -36,11 +44,10 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest pyomo==6.4.1
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Install CBC
run: |
mamba install coincbc
mamba install coin-or-cbc coincbc
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand All @@ -50,9 +57,6 @@ jobs:
- name: Install osier package
run: |
pip install .
- name : Install recent unyt update
run: |
python3 -m pip install -e git+https://github.com/yt-project/unyt.git#egg=unyt
- name: Test with pytest
run: |
pytest tests/

0 comments on commit e45e08d

Please sign in to comment.