From e07db6bc35b21e6cb1da4d1915fe8a2fa7c4020a Mon Sep 17 00:00:00 2001 From: Guanzhong Chen Date: Thu, 7 Nov 2019 14:38:49 -0500 Subject: [PATCH] Add GitHub Actions workflow for CI --- .github/workflows/build.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..303e492 --- /dev/null +++ b/.github/workflows/build.yml @@ -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