aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorRoy Sommer <illBeRoy@users.noreply.github.com>2020-10-07 14:29:19 +0300
committerGitHub <noreply@github.com>2020-10-07 14:29:19 +0300
commit581104d1097129403374a9751c7323bfd1148047 (patch)
treeab743a854c6ef4a8762539fcf1fbc09fc3c5fa02 /.github/workflows
parentdocs: add Granitosaurus as a contributor (#22) (diff)
downloadtaskipy2-581104d1097129403374a9751c7323bfd1148047.zip
Create ci.yml
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..4007a63
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,33 @@
+# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
+# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
+
+name: Python package
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ python-version: [3.6, 3.7, 3.8, 3.9]
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python-version }}
+ - name: Install Poetry
+ run: |
+ python -m pip install --upgrade pip
+ pip install poetry
+ - name: Install dependencies
+ run: poetry install
+ - name: Test
+ run: poetry run task test