File tree Expand file tree Collapse file tree 1 file changed +6
-39
lines changed
Expand file tree Collapse file tree 1 file changed +6
-39
lines changed Original file line number Diff line number Diff line change 11name : CI
2- on : push
2+ on :
3+ pull_request :
4+ paths-ignore :
5+ - ' .github/**'
36jobs :
47 test :
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/github-action@v2.3.0
25- with :
26- github-token : ${{ secrets.GITHUB_TOKEN }}
27- fail-on-error : false
8+ uses : mitlibraries/.github/.github/workflows/python-uv-shared-test.yml@main
289 lint :
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
10+ uses : mitlibraries/.github/.github/workflows/python-uv-shared-lint.yml@main
You can’t perform that action at this time.
0 commit comments