Skip to content

Commit

Permalink
Added github action CI/CD testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Descent098 committed Feb 6, 2020
1 parent 2304996 commit 62676a0
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Python application

on: [push]

jobs:
test:
name: Test on Python ${{ matrix.python_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
python_version: ['3.5', '3.6', '3.7', '3.8']
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
- uses: actions/checkout@v2
- 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 .
- name: Test with pytest
run: |
pip install pytest
pytest

0 comments on commit 62676a0

Please sign in to comment.