Skip to content

Commit a8a9348

Browse files
committed
Use temporary, explicit CI github actions
1 parent acb83fe commit a8a9348

File tree

1 file changed

+38
-2
lines changed

1 file changed

+38
-2
lines changed

.github/workflows/ci.yml

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,42 @@ name: CI
22
on: push
33
jobs:
44
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
628
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

0 commit comments

Comments
 (0)