Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 3 additions & 42 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,7 @@
name: CI
on:
pull_request:
paths-ignore:
- '.github/**'
jobs:
test:
# TODO: move this into a shared workflow, https://github.com/MITLibraries/.github/tree/main/.github/workflows
name: Run tests and report coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v6

- name: Create virtual environment
run: |
make install

- name: Run tests and make coverage report
run: |
make test
make coveralls

- name: Coveralls
uses: coverallsapp/github-action@v2.3.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fail-on-error: false
uses: mitlibraries/.github/.github/workflows/python-uv-shared-test.yml@main
lint:
# TODO: move this into a shared workflow, https://github.com/MITLibraries/.github/tree/main/.github/workflows
name: Run linters
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v6

- name: Create virtual environment
run: |
make install

- name: Lint
run: make lint
uses: mitlibraries/.github/.github/workflows/python-uv-shared-lint.yml@main