Skip to content

Pre-commit autoupdate (#676) #2281

Pre-commit autoupdate (#676)

Pre-commit autoupdate (#676) #2281

Workflow file for this run

name: CI
on: [push]
jobs:
linter:
name: "Linter (pre-commit)"
runs-on: ubuntu-latest
env:
CI: True
strategy:
fail-fast: true
steps:
- name: Pull image
run: docker pull condaforge/mambaforge:latest
- name: Checkout branch
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Run linter inside of container
uses: ./.github/actions/linter
linux:
name: "Linux - tests - Py${{ matrix.PYTHON_VERSION }}"
runs-on: ubuntu-latest
env:
CI: True
strategy:
fail-fast: true
matrix:
PYTHON_VERSION: ['3.8', '3.9', '3.10']
steps:
- name: Pull image
run: docker pull condaforge/mambaforge:latest
- name: Checkout branch
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Run CI inside of container
uses: ./.github/actions/unittests
with:
python_version: ${{ matrix.PYTHON_VERSION }}
linux-conda-build:
name: "Linux - conda-build - Python ${{ matrix.CONDA_BUILD_YML }}"
runs-on: ubuntu-latest
env:
CI: True
strategy:
fail-fast: true
matrix:
CONDA_BUILD_YML:
- linux_64_numpy1.20python3.8.____cpython
steps:
- name: Pull image
run: docker pull condaforge/mambaforge:latest
- name: Checkout branch
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Fetch full git history
run: git fetch --prune --unshallow
- name: Run CI inside of container
uses: ./.github/actions/conda-build
with:
conda_build_yml: ${{ matrix.CONDA_BUILD_YML }}