-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (36 loc) · 1.06 KB
/
ci.yml
File metadata and controls
43 lines (36 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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/github-action@v2.3.0
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