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 9cec8bf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 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
- pip:
- dbdreader
- polars
6 changes: 3 additions & 3 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 All @@ -15,6 +15,6 @@ dependencies:
- pytest-cov
- pooch
- matplotlib
- polars
- pip:
- dbdreader
- polars

0 comments on commit 9cec8bf

Please sign in to comment.