aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-06 01:06:42 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-06 01:06:42 +0300
commit3bc246f4d4d28df4c1de49db720f6517e12f7cd5 (patch)
tree05d29642fa19d12d2301a7ecc5ad5921d0f8b40e /.github/workflows
parentadd test.sh (diff)
downloadlinux-status-3bc246f4d4d28df4c1de49db720f6517e12f7cd5.tar.gz
linux-status-3bc246f4d4d28df4c1de49db720f6517e12f7cd5.zip
add GitHub Actions workflow
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/test.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..015d9e3
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,23 @@
+name: Test
+
+on:
+ push:
+ pull_request:
+ workflow_dispatch:
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
+ name: 'Python ${{ matrix.python-version }}'
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Set up Python
+ uses: actions/setup-python@v2
+ with:
+ python-version: '${{ matrix.python-version }}'
+ - name: Run the tests
+ run: ./test/test.sh