Skip to content

Merge pull request #3197 from Unidata/dependabot-pip-ci-flake8-764669… #3829

Merge pull request #3197 from Unidata/dependabot-pip-ci-flake8-764669…

Merge pull request #3197 from Unidata/dependabot-pip-ci-flake8-764669… #3829

Workflow file for this run

name: Conda Tests
# We don't want pushes (or PRs) to gh-pages to kick anything off
on:
push:
branches:
- main
- '[0-9]+.[0-9]+.x'
pull_request:
branches:
- main
- '[0-9]+.[0-9]+.x'
concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
#
# Run all tests on Conda on both Windows and macOS
#
CondaTests:
name: ${{ matrix.os }} ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}-latest
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
python-version: [3.9, '3.10', 3.11]
os: [macOS, Windows]
steps:
- name: Checkout source
uses: actions/checkout@v4
with:
fetch-depth: 150
fetch-tags: true
- name: Install from Conda
uses: ./.github/actions/install-conda
with:
type: 'test'
python-version: ${{ matrix.python-version }}
- name: Run tests
uses: ./.github/actions/run-tests
with:
run-doctests: ${{ runner.os != 'Windows' }}
key: conda-${{ matrix.python-version }}-${{ runner.os }}