Skip to content

Commit

Permalink
Update CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtilly committed Sep 19, 2024
1 parent 7993a74 commit 4f85ce3
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,32 @@
name: Test Package
name: CI
on: [push]

# Automatically stop old builds on the same branch/PR
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

defaults:
run:
shell: bash -el {0}

jobs:
build-linux:
name: CI
pre-commit-checks:
name: Pre-commit checks
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v4
- name: Run pre-commit-conda
uses: quantco/pre-commit-conda@v1

tests:
name: Tests
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2.2.0
- uses: conda-incubator/setup-miniconda@v3.0.4
with:
miniforge-version: latest
miniforge-variant: Mambaforge
Expand Down

0 comments on commit 4f85ce3

Please sign in to comment.