File tree Expand file tree Collapse file tree 1 file changed +38
-2
lines changed Expand file tree Collapse file tree 1 file changed +38
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,42 @@ name: CI
2
2
on : push
3
3
jobs :
4
4
test :
5
- uses : mitlibraries/.github/.github/workflows/python-shared-test.yml@main
5
+ # TODO: move this into a shared workflow, https://github.com/MITLibraries/.github/tree/main/.github/workflows
6
+ name : Run tests and report coverage
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v4
10
+
11
+ - name : Install uv
12
+ uses : astral-sh/setup-uv@v6
13
+
14
+ - name : Create virtual environment
15
+ run : |
16
+ make install
17
+
18
+ - name : Run tests and make coverage report
19
+ run : |
20
+ make test
21
+ make coveralls
22
+
23
+ - name : Coveralls
24
+ uses :
coverallsapp/[email protected]
25
+ with :
26
+ github-token : ${{ secrets.GITHUB_TOKEN }}
27
+ fail-on-error : false
6
28
lint :
7
- uses : mitlibraries/.github/.github/workflows/python-shared-lint.yml@main
29
+ # TODO: move this into a shared workflow, https://github.com/MITLibraries/.github/tree/main/.github/workflows
30
+ name : Run linters
31
+ runs-on : ubuntu-latest
32
+ steps :
33
+ - uses : actions/checkout@v4
34
+
35
+ - name : Install uv
36
+ uses : astral-sh/setup-uv@v6
37
+
38
+ - name : Create virtual environment
39
+ run : |
40
+ make install
41
+
42
+ - name : Lint
43
+ run : make lint
You can’t perform that action at this time.
0 commit comments