forked from pysal/momepy
-
Notifications
You must be signed in to change notification settings - Fork 2
42 lines (36 loc) · 868 Bytes
/
test_docstrings.yaml
File metadata and controls
42 lines (36 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
name: Test docstrings
on: # yamllint disable-line rule:truthy
push:
branches: [main]
pull_request:
branches:
- "*"
schedule:
- cron: "0 0 * * 1,4"
workflow_dispatch:
inputs:
version:
description: Manual docstring test
default: test
required: false
jobs:
Test:
name: "Test dosctrings"
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0 # Fetch all history for all branches and tags.
- name: setup micromamba
uses: mamba-org/setup-micromamba@v2
with:
environment-file: ci/envs/314-latest.yaml
- name: Install momepy
run: pip install .
- name: Test docstrings
run: |
pytest -v --color=yes --doctest-only momepy