Add ci test: validate against RNG schema
Change-Id: Ic13374c57db47b15480cc3c1ff82301bae573fa8
diff --git a/.github/workflows/ci_test.yml b/.github/workflows/ci_test.yml
new file mode 100644
index 0000000..1ff1b31
--- /dev/null
+++ b/.github/workflows/ci_test.yml
@@ -0,0 +1,16 @@
+name: CI Test
+
+on: [push, pull_request]
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: actions/setup-python@v4
+ with:
+ python-version: '3.10'
+ - name: Install jingtrang
+ run: pip install jingtrang
+ - name: Validate ICLC-10.csl against RelaxNG schema
+ run: pyjing -c schemas/csl.rnc styles/ICLC-10.csl