Skip to content

Commit b8e824f

Browse files
committed
add github workflow file
1 parent 8061a1e commit b8e824f

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/test.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: gbfs-api
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python-version: ["pypy3.10", "3.9", "3.10", "3.11", "3.12", "3.13"]
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v5
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
pip install -U ruff uv
23+
uv pip install -e .
24+
25+
- name: lint
26+
run: ruff check --output-format=github --target-version=py39
27+
28+
- name: test
29+
run: pytest -vv

0 commit comments

Comments
 (0)