forked from python/mypy
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 733 Bytes
/
docs.yml
File metadata and controls
33 lines (31 loc) · 733 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
name: Check documentation build
on:
workflow_dispatch:
push:
branches: [master, 'release*']
tags: ['*']
pull_request:
paths:
- 'docs/**'
- 'mypyc/doc/**'
- '**/*.rst'
- '**/*.md'
- CREDITS
- LICENSE
jobs:
docs:
runs-on: ubuntu-latest
env:
TOXENV: docs
TOX_SKIP_MISSING_INTERPRETERS: False
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.7'
- name: Install tox
run: pip install --upgrade 'setuptools!=50' tox==3.24.5
- name: Setup tox environment
run: tox -e ${{ env.TOXENV }} --notest
- name: Test
run: tox -e ${{ env.TOXENV }} --skip-pkg-install