Skip to content

Commit 53a84b1

Browse files
authored
Merge pull request #2 from martindurant/ci
add Ci test
2 parents 190fa9a + 9590f42 commit 53a84b1

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

.github/workflows/main.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: ["*"]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
linux:
11+
name: ${{ matrix.PY }}-pytest
12+
runs-on: ubuntu-24.04
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
PY:
17+
- "3.12"
18+
- "3.13"
19+
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
25+
- name: Set up Python
26+
uses: actions/setup-python@v4
27+
with:
28+
python-version: ${{ matrix.PY }}
29+
- name: Install
30+
run: |
31+
pip install ./fsspec-proxy
32+
pip install ./pyscript-fsspec-client[test]
33+
- name: test
34+
run: pytest -v

pyscript-fsspec-client/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ dependencies = [
2525
]
2626
dynamic = ["version", "description", "urls", "keywords"]
2727

28+
[project.optional-dependencies]
29+
test = ["requests", "pytest"]
30+
2831
[tool.hatch.build.hooks.version]
2932
path = "pyscript_fsspec_client/_version.py"
3033

0 commit comments

Comments
 (0)