Skip to content

Commit d5d562a

Browse files
committed
build: add github actions and dependabot
1 parent c1788b3 commit d5d562a

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

.github/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: monthly
7+
- package-ecosystem: pip
8+
directory: /
9+
schedule:
10+
interval: monthly
11+
versioning-strategy: increase-if-necessary
12+
ignore:
13+
- dependency-name: >-
14+
*
15+
update-types:
16+
- version-update:semver-patch

.github/workflows/python.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: actions
2+
3+
on:
4+
push:
5+
pull_request:
6+
branches:
7+
- $default-branch
8+
9+
jobs:
10+
build:
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
os: [ubuntu-latest, macos-latest, windows-latest]
15+
python-version: ['3.11', '3.12']
16+
steps:
17+
- uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
- uses: actions/setup-python@v5
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
- run: pip install -r requirements_ci.txt
24+
- run: python -m coverage run --branch --source . -m unittest -v
25+
- run: python -m coverage report --show-missing
26+
- run: codecov

0 commit comments

Comments
 (0)