Skip to content

Merge pull request #65 from cclauss/pre-commit-autoupdate-2024-11-25 #77

Merge pull request #65 from cclauss/pre-commit-autoupdate-2024-11-25

Merge pull request #65 from cclauss/pre-commit-autoupdate-2024-11-25 #77

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
pre-commit:
runs-on: ubuntu-latest
name: Check SDist
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: pre-commit/[email protected]
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install removestar (lite)
run: |
python -m pip install -e ".[dev]"
- name: Test removestar (lite)
run: |
pytest --cov=removestar . -vv
- name: Install removestar (nb)
run: |
python -m pip install -e ".[dev,nb]"
- name: Test removestar (nb)
run: |
pytest --cov=removestar . -vv
- name: Upload coverage report
uses: codecov/[email protected]