summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2020-02-09 10:16:16 +0100
committerJustin Mayer <entroP@gmail.com>2020-02-09 10:16:16 +0100
commitbc6277141e443fb14eca7d591d72f1aff69c6368 (patch)
treefb4d1ef9845e3366ef24b9d69005308999a4100b
parent78b5100f8d9594afb2df9038e01ecc43ecb4abae (diff)
downloadfeedgenerator-bc6277141e443fb14eca7d591d72f1aff69c6368.tar.gz
Add automated testing via GitHub Actions CI
-rw-r--r--.github/workflows/main.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..66ffb9b
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,27 @@
+name: build
+
+on:
+ push:
+ branches:
+ pull_request:
+ branches:
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ python-version: [3.6, 3.7, 3.8]
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v1
+ with:
+ python-version: ${{ matrix.python-version }}
+ - name: Upgrade Pip
+ run: python -m pip install -U pip
+ - name: Test with pytest
+ run: |
+ python -m pip install pytest
+ pytest