Skip to content

Commit

Permalink
TST: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jklymak committed Mar 28, 2024
1 parent 78b0808 commit fc6deb2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
os: ["ubuntu-latest"]
python-version: ["3.9", "3.10"]
python-version: ["3.10"]

steps:
- uses: actions/checkout@v2
Expand All @@ -22,15 +22,15 @@ jobs:
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{hashFiles('environment.yml') }}
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: pyglider
activate-environment: pyglider-test
environment-file: tests/environment.yml
python-version: ${{ matrix.python-version }}
channel-priority: strict
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
- name: Conda info
shell: bash -l {0}
run: conda info
- name: install pyglider
run: conda info; conda list
- name: install pyglider source
shell: bash -l {0}
run: which pip; pip install -e .
- name: Process seaexplorer
Expand Down
4 changes: 2 additions & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: pyglider
channels:
- conda-forge
dependencies:
- python
- python>=3.10
- numpy
- pip
- xarray
Expand All @@ -12,6 +12,6 @@ dependencies:
- scipy
- bitstring
- pooch
- polars>0.16
- polars
- pip:
- dbdreader
4 changes: 2 additions & 2 deletions tests/environment.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: pyglider
name: pyglider-test
channels:
- conda-forge
dependencies:
- python
- python>=3.9
- numpy
- pip
- xarray
Expand Down

0 comments on commit fc6deb2

Please sign in to comment.