Skip to content

Commit

Permalink
Refresh CI workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanholek committed Sep 19, 2023
1 parent 9688469 commit 6d95f0e
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/python-package.yml
Expand Up @@ -2,13 +2,17 @@ name: CI

on:
push:
branches: [main]
branches: [main, workflow]
pull_request:
branches: [main]

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

env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
PIP_NO_PYTHON_VERSION_WARNING: 1
PIP_DISABLE_PIP_VERSION_CHECK: 1
PIP_NO_PYTHON_VERSION_WARNING: 1

jobs:
build:
Expand All @@ -18,6 +22,10 @@ jobs:
os: [ubuntu-latest, macos-latest]
python-version: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
exclude:
- os: ubuntu-latest
python-version: "2.7"
- os: ubuntu-latest
python-version: "3.6"
- os: macos-latest
python-version: "3.6"
- os: macos-latest
Expand All @@ -26,11 +34,6 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.11.0
with:
all_but_latest: true

- name: Check out project
uses: actions/checkout@v3

Expand Down

0 comments on commit 6d95f0e

Please sign in to comment.