Use temporary, explicit CI github actions #80
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: push | |
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 |