Add test.yml workflow
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 4 Mar 2021 14:27:09 +0000 (15:27 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 4 Mar 2021 14:27:38 +0000 (15:27 +0100)
.github/workflows/test.yml [new file with mode: 0644]

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644 (file)
index 0000000..d246e37
--- /dev/null
@@ -0,0 +1,18 @@
+name: Test
+
+on:
+  push:
+    branches-ignore:
+    - 'gh-pages'
+
+jobs:
+  test:
+    name: Test
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v2
+    - uses: actions/setup-python@v1
+      with:
+        python-version: '3.x'
+    - run: pip3 install -r requirements.txt
+    - run: mkdocs build