Skip to content

Commit

Permalink
Workflow & Python Version Update (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
madMatchstick authored Mar 27, 2024
1 parent 8d33cc9 commit bd0ccf3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test_unit_standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,29 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest] # windows will fail(?)
python-version: [3.7, 3.8, 3.9] # 3.9(+) will fail
python-version: ['3.10', 3.11, 3.12]
fail-fast: false
runs-on: ${{ matrix.os }}

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout the commit
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: setup python # ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

#- name: create conda env
# run: $CONDA/bin/conda env create -f environment.yml

- name: activate conda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: bmi_lstm
environment-file: ./environment.yml
#python-version: ${{ matrix.python-version }}
# this may not be necessary? tbd..
auto-activate-base: false

Expand Down
4 changes: 2 additions & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ dependencies:
- matplotlib
- netcdf4
- pandas
- python=3.7
- python=3.10
- pytorch
- ruamel.yaml
- xarray=0.16.0
- llvm-openmp=10.0.0
- llvm-openmp=10.0.0

0 comments on commit bd0ccf3

Please sign in to comment.