summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2020-09-22 08:17:44 -0700
committerEli Bendersky <eliben@gmail.com>2020-09-22 08:17:44 -0700
commit2a14b870fced8134242fb1221aa6c7b33ff05630 (patch)
tree5faaca99ec4bb3358e0c6cbf75df9f59f43c6301 /.github
parent6da5009936d0c220b14f8c70deb0a2c7f82ac922 (diff)
downloadpycparser-2a14b870fced8134242fb1221aa6c7b33ff05630.tar.gz
Add initial github workflow file for actions
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..aaa9b0c
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,26 @@
+name: pycparser tests
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ python-version: [2.7, 3.6, 3.7, 3.8]
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python-version }}
+ - name: Test
+ run: |
+ python tests/all_tests.py