Skip to content

Bump the github-actions group with 3 updates #81

Bump the github-actions group with 3 updates

Bump the github-actions group with 3 updates #81

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@v5
with:
python-version: 3.x
- uses: pre-commit/action@v3.0.1
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@v5
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/codecov-action@v5.0.7