Skip to content

USE 112 & 113 - Base model class and stubs for downloads #17

USE 112 & 113 - Base model class and stubs for downloads

USE 112 & 113 - Base model class and stubs for downloads #17

Workflow file for this run

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/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fail-on-error: false
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