Skip to content

Commit 6c1e555

Browse files
committed
Finer-grained CI, extend CONTRIBUTING
1 parent d49b889 commit 6c1e555

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

.github/workflows/test.yaml

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
- push
44
- pull_request
55
jobs:
6-
deploy:
6+
docs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/setup-python@v5
@@ -15,7 +15,30 @@ jobs:
1515
pip install pipenv
1616
pipenv install
1717
- run: pipenv run test-docs
18+
schema:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/setup-python@v5
22+
with:
23+
python-version: '>=3.9'
24+
- uses: actions/checkout@v4
25+
- name: Install pipenv
26+
run: |
27+
pip install pipenv
28+
pipenv install
1829
- run: pipenv run test-schema
30+
examples:
31+
runs-on: ubuntu-latest
32+
needs: schema
33+
steps:
34+
- uses: actions/setup-python@v5
35+
with:
36+
python-version: '>=3.9'
37+
- uses: actions/checkout@v4
38+
- name: Install pipenv
39+
run: |
40+
pip install pipenv
41+
pipenv install
1942
- run: pipenv run test-geojson-features
2043
- run: pipenv run test-geojson-collection
21-
- run: pipenv run test-geoparquet
44+
- run: pipenv run test-geoparquet

CONTRIBUTING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ We use pipenv to execute the tests.
4040
Start with the following command in the folder where this README is located:
4141
`pip install pipenv --user`
4242

43+
Install the dependencies for the test:
44+
`pipenv install`
45+
4346
Finally, you can run the tests as follows:
4447

4548
- To check the markdown run: `pipenv run test-docs`

0 commit comments

Comments
 (0)