Add GitHub Actions workflow for CI

This commit is contained in:
Guanzhong Chen 2019-11-07 14:38:49 -05:00 committed by GitHub
parent 69996ebfd0
commit e07db6bc35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

17
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: build
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run syntax check
run: python check.py
- name: Build site
run: python build.py