Skip to content

Commit

Permalink
Add github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
davesteele committed Apr 11, 2021
1 parent 7206d6c commit 8c7e650
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,33 @@
name: Pytests

on: [push, pull_request]

jobs:
test:
name: Tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9"]
steps:
- name: Check out
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install pip dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install .[columns]
pip install .[ical]
pip install .[prompt]
pip install .[test]
pip install pylint
pip install codecov
pip install -U isort
pip install pytest
- name: Run pytests
run: |
python -m pytest

0 comments on commit 8c7e650

Please sign in to comment.