Skip to content

Commit

Permalink
Try using mamba on macos again
Browse files Browse the repository at this point in the history
  • Loading branch information
asmeurer committed Oct 6, 2023
1 parent f260e12 commit 031574a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,15 @@ jobs:
- name: "Checkout Repository"
uses: actions/checkout@v4

- name: Set up Python (Linux)
- name: Set CONDA_ENV_FILE
run: |
if [ "${{ matrix.os }}" == "ubuntu-latest" ]; then
echo "CONDA_ENV_FILE=conda-store-server/environment-dev.yaml" >> $GITHUB_ENV
else
echo "CONDA_ENV_FILE=conda-store-server/environment-macos-dev.yaml" >> $GITHUB_ENV
fi
- name: Set up Conda Environment
if: matrix.os == 'ubuntu-latest'
uses: conda-incubator/setup-miniconda@v2
with:
Expand All @@ -34,14 +42,6 @@ jobs:
environment-file: conda-store-server/environment-dev.yaml
auto-activate-base: false

- name: Set up Python (macOS)
if: matrix.os == 'macos-latest'
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: conda-store-server-dev
environment-file: conda-store-server/environment-macos-dev.yaml
auto-activate-base: false

- name: Linting Checks
run: |
hatch env run -e dev lint
Expand Down

0 comments on commit 031574a

Please sign in to comment.