Skip to content

Commit

Permalink
Try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
crusaderky committed Oct 2, 2023
1 parent 43c4771 commit dbbbdc0
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 21 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,24 @@ on: [push, pull_request]

jobs:
test:
name: ${{ matrix.os }} ${{ matrix.python-version }}
name: ${{ matrix.os }} ${{ matrix.environment }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.9", "3.10", "3.11"]
environment: [continuous_integration/environment.yml]
environment: ["3.9", "3.10", "3.11"]
include:
- os: windows-latest
python-version: "3.9"
environment: "3.9"
- os: windows-latest
python-version: "3.11"
environment: "3.11"
- os: macos-latest
python-version: "3.9"
environment: "3.9"
- os: macos-latest
python-version: "3.11"
environment: "3.11"
- os: ubuntu-latest
python-version: "3.9"
environment: continuous_integration/environment-no-optional-deps.yml
environment: nodeps

steps:
- name: Checkout source
Expand All @@ -37,10 +35,10 @@ jobs:
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
channel-priority: strict
environment-file: continuous_integration/environment-${{ matrix.environment }}.yml
activate-environment: test
condarc-file: continuous_integration/condarc
python-version: ${{ matrix.python-version }}
environment-file: ${{ matrix.environment }}
auto-activate-base: false

- name: Install zict
shell: bash -l {0}
Expand Down
9 changes: 0 additions & 9 deletions continuous_integration/condarc

This file was deleted.

11 changes: 11 additions & 0 deletions continuous_integration/environment-3.10.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: test
channels:
- conda-forge
dependencies:
- python =3.10
- psutil # Enables extra tests
- python-lmdb # Optional dependency
- pytest
- pytest-asyncio
- pytest-repeat
- pytest-timeout
11 changes: 11 additions & 0 deletions continuous_integration/environment-3.11.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: test
channels:
- conda-forge
dependencies:
- python =3.11
- psutil # Enables extra tests
- python-lmdb # Optional dependency
- pytest
- pytest-asyncio
- pytest-repeat
- pytest-timeout
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: test
channels:
- conda-forge
dependencies:
- python =3.9
- psutil # Enables extra tests
- python-lmdb # Optional dependency
- pytest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: test
channels:
- conda-forge
dependencies:
- python =3.9
- pytest
- pytest-asyncio
- pytest-repeat
Expand Down

0 comments on commit dbbbdc0

Please sign in to comment.