Skip to content

Commit

Permalink
ci: some minor fixes (#675)
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii committed Dec 7, 2022
1 parent cc710bd commit 828bc82
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
name: CI
on: [push, pull_request]
on:
push:
branches: [main]
pull_request:

env:
FORCE_COLOR: "1"
PRE_COMMIT_COLOR: "always"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-20.04, windows-latest, macos-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
Expand All @@ -18,10 +26,11 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Set up Miniconda
uses: conda-incubator/setup-miniconda@v2
if: matrix.python-version != '3.11'
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
miniforge-variant: Mambaforge
use-mamba: true
- name: Install Nox-under-test
run: |
python -m pip install --disable-pip-version-check .
Expand Down

0 comments on commit 828bc82

Please sign in to comment.