Skip to content

Commit 985a98d

Browse files
committed
Add GitHub workflows
1 parent 7453c66 commit 985a98d

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/ci.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Code Quality
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
8+
jobs:
9+
quality:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Set up Python 3.12
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: "3.12"
19+
20+
- name: Install dependencies
21+
run: |
22+
npm install -g markdownlint-cli
23+
make install-dev
24+
25+
- name: Run code quality checks
26+
run: make check-all
27+
28+
- name: Test with pytest
29+
run: make test-cov
30+
31+
- name: Upload coverage to Codecov
32+
uses: codecov/codecov-action@v3
33+
with:
34+
file: ./.coverage/coverage.xml
35+
flags: unittests
36+
name: codecov-umbrella
37+
fail_ci_if_error: false

0 commit comments

Comments
 (0)