From 8633ab5cf52f25078604148a97e57c7ab6bc7eec Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Wed, 27 Mar 2024 18:21:49 -0700 Subject: [PATCH] TST: fix tests --- .github/workflows/tests.yml | 6 +++--- environment.yml | 4 ++-- tests/environment.yml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a287322..6edf06d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 @@ -22,7 +22,7 @@ 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 @@ -30,7 +30,7 @@ jobs: - name: Conda info shell: bash -l {0} run: conda info - - name: install pyglider + - name: install pyglider source shell: bash -l {0} run: which pip; pip install -e . - name: Process seaexplorer diff --git a/environment.yml b/environment.yml index 097fd49..ad53cbd 100644 --- a/environment.yml +++ b/environment.yml @@ -2,7 +2,7 @@ name: pyglider channels: - conda-forge dependencies: - - python + - python>=3.10 - numpy - pip - xarray @@ -12,6 +12,6 @@ dependencies: - scipy - bitstring - pooch - - polars>0.16 + - polars>=0.16 - pip: - dbdreader diff --git a/tests/environment.yml b/tests/environment.yml index c669c8e..c8c5d2f 100644 --- a/tests/environment.yml +++ b/tests/environment.yml @@ -1,8 +1,8 @@ -name: pyglider +name: pyglider-test channels: - conda-forge dependencies: - - python + - python>=3.9 - numpy - pip - xarray