diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a287322..e3e9246 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,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 diff --git a/environment.yml b/environment.yml index 097fd49..7d27b86 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 - 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