Skip to content

Commit

Permalink
update conda action
Browse files Browse the repository at this point in the history
  • Loading branch information
jcapriot committed Jul 7, 2024
1 parent bf6ea6e commit dcc4c8f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
python-version: [3.7, 3.8, 3.9, "3.10"]
python-version: [3.9, "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v2
- name: Setup Conda
uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
activate-environment: dev
python-version: ${{ matrix.python-version }}
- name: Install Env
run: |
Expand All @@ -47,15 +46,15 @@ jobs:
pytest --cov-config=.coveragerc --cov-report=xml --cov=pymatsolver -s -v
- name: Test Documentation
if: ${{ matrix.os == 'ubuntu-latest' }} and {{ matrix.python-version == '3.8' }}
if: ${{ matrix.os == 'ubuntu-latest' }} and {{ matrix.python-version == '3.11' }}
run: |
pip install -r requirements_docs.txt
cd docs
make html
cd ..
- name: Upload coverage
if: ${{ matrix.os == 'ubuntu-latest' }} and {{ matrix.python-version == '3.8' }}
if: ${{ matrix.os == 'ubuntu-latest' }} and {{ matrix.python-version == '3.11' }}
uses: codecov/codecov-action@v2
with:
verbose: true # optional (default = false)
Expand Down

0 comments on commit dcc4c8f

Please sign in to comment.