Skip to content

Commit e4f13ef

Browse files
authored
Create test-pull-request.yml
1 parent 8956991 commit e4f13ef

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build docs and test
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build_pull_request:
10+
runs-on: ubuntu-latest
11+
if: github.event.pull_request.head.repo.fork == false
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v3
15+
with:
16+
submodules: 'recursive'
17+
- uses: actions/setup-python@v4
18+
with:
19+
python-version: 3.x
20+
- name: Configure Git
21+
run: |
22+
git config user.name "fullstack-devops[bot]"
23+
git config user.email "fullstack-devops[bot]@users.noreply.github.com"
24+
- run: |
25+
pip install -r requirements.txt
26+
- run: mkdocs build

0 commit comments

Comments
 (0)