Skip to content

Commit

Permalink
test windows mypy on mamba
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmicBboy committed Sep 17, 2023
1 parent 673a246 commit 9606826
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,20 +114,20 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

# - name: Cache conda
# uses: actions/cache@v3
# env:
# # Increase this value to reset cache if etc/environment.yml has not changed
# CACHE_NUMBER: 2
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v4
# with:
# path: ~/conda_pkgs_dir
# key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }}
# id: cache
# python-version: ${{ matrix.python-version }}

- name: Cache conda
uses: actions/cache@v3
env:
# Increase this value to reset cache if etc/environment.yml has not changed
CACHE_NUMBER: 2
with:
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }}
id: cache

- name: Cache pip
uses: actions/cache@v3
Expand All @@ -137,17 +137,17 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
# - uses: conda-incubator/setup-miniconda@v2
# with:
# auto-update-conda: true
# python-version: ${{ matrix.python-version }}
# miniforge-version: latest
# miniforge-variant: Mambaforge
# use-mamba: true
# activate-environment: pandera-dev
# channels: conda-forge
# channel-priority: true
# use-only-tar-bz2: true
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
miniforge-version: latest
miniforge-variant: Mambaforge
use-mamba: true
activate-environment: pandera-dev
channels: conda-forge
channel-priority: true
use-only-tar-bz2: true

- name: Install deps
run: pip install -r ci/requirements-py${{ matrix.python-version }}-pandas${{ matrix.pandas-version }}-pydantic${{ matrix.pydantic-version }}.txt
Expand Down

0 comments on commit 9606826

Please sign in to comment.