mirror of
https://github.com/quantum5/uwat.cc.git
synced 2025-04-25 03:01:56 -04:00
Add GitHub Actions workflow for CI
This commit is contained in:
parent
69996ebfd0
commit
e07db6bc35
17
.github/workflows/build.yml
vendored
Normal file
17
.github/workflows/build.yml
vendored
Normal 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
|
Loading…
Reference in a new issue