summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hellkamp <marc@gsites.de>2019-12-01 19:14:09 +0100
committerGitHub <noreply@github.com>2019-12-01 19:14:09 +0100
commit3ce0fe61221e8b8aa695d296762aebc7c393a04d (patch)
tree9d2127069ce6b7f41f45eaa4332c4de5815947c1
parent61eeba12d0e6895129abf646a28eb37f9a75a463 (diff)
downloadbottle-3ce0fe61221e8b8aa695d296762aebc7c393a04d.tar.gz
Create pythonpackage.yml
Testing github actions as an alternative to travis/circleci
-rw-r--r--.github/workflows/pythonpackage.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml
new file mode 100644
index 0000000..376a728
--- /dev/null
+++ b/.github/workflows/pythonpackage.yml
@@ -0,0 +1,24 @@
+name: Python package
+on: [push]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ max-parallel: 4
+ matrix:
+ python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
+ steps:
+ - uses: actions/checkout@v1
+ - name: Set up Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v1
+ with:
+ python-version: ${{ matrix.python-version }}
+ - name: Install dependencies
+ run: |
+ python -m pip install --upgrade pip
+ pip install pytest
+ - name: Run tests
+ run: |
+ pip install pytest
+ pytest