Skip to content

Commit df007cf

Browse files
committed
gh actions skeleton
1 parent 7be56c2 commit df007cf

File tree

4 files changed

+42
-0
lines changed

4 files changed

+42
-0
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"

.github/workflows/lint.yml

Whitespace-only changes.

.github/workflows/release.yml

Whitespace-only changes.

.github/workflows/testing.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: testing
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
test:
11+
strategy:
12+
matrix:
13+
os: ["ubuntu-latest"]
14+
python-version: ["3.11", "3.12", "3.13"]
15+
16+
name: mp-cite (${{ matrix.os }}/py${{ matrix.python-version }})
17+
runs-on: ${{ matrix.os }}
18+
steps:
19+
- uses: actions/checkout@v4
20+
with:
21+
fetch-depth: 0
22+
23+
- name: Install uv
24+
uses: astral-sh/setup-uv@v6
25+
with:
26+
python-version: ${{ matrix.python-version }}
27+
28+
- name: Install the project
29+
run: uv sync --locked --all-extras --dev
30+
31+
- name: Run tests
32+
env:
33+
ELINK_REVIEW_API_TOKEN: ${{ secrets.ELINK_REVIEW_API_TOKEN }}
34+
ELINK_REVIEW_ENDPOINT: ${{ secrets.ELINK_REVIEW_ENDPOINT }}
35+
run: uv run pytest tests
36+
# codecov?

0 commit comments

Comments
 (0)