Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5957f53

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Address comments by @localheinzwq Formatting + name steps Use one workflow file Use GithubAction instead of Travis
2 parents 268d8fc + 119ea96 commit 5957f53

File tree

3 files changed

+53
-27
lines changed

3 files changed

+53
-27
lines changed

.github/workflows/ci.yaml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
on:
2+
push:
3+
branches-ignore:
4+
- 'github-comments'
5+
pull_request:
6+
branches-ignore:
7+
- 'github-comments'
8+
9+
name: CI
10+
11+
jobs:
12+
build:
13+
name: Build
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: "Checkout"
19+
uses: actions/checkout@v2
20+
21+
- name: "Set up Python 3.x"
22+
uses: actions/setup-python@v1
23+
with:
24+
python-version: '3.7' # Semantic version range syntax or exact version of a Python version
25+
26+
- name: "Display Python version"
27+
run: python -c "import sys; print(sys.version)"
28+
29+
- name: "Install Sphinx dependencies"
30+
run: sudo apt-get install python-dev build-essential
31+
32+
- name: "Install Sphinx"
33+
run: pip install --user sphinx
34+
35+
- name: "Install custom requirements via pip"
36+
run: pip install -r _build/.requirements.txt
37+
38+
- name: "Build documentation"
39+
run: make -C _build SPHINXOPTS=-nW html
40+
41+
doctor-rst:
42+
name: DOCtor-RST
43+
44+
runs-on: ubuntu-latest
45+
46+
steps:
47+
- name: "Checkout"
48+
uses: actions/checkout@v2
49+
50+
- name: "Run DOCtor-RST"
51+
uses: docker://oskarstark/doctor-rst
52+
with:
53+
args: --short

.github/workflows/lint.yaml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)