add github actions, fix readme for pypi

This commit is contained in:
Your Name
2022-03-17 17:03:40 +01:00
parent b0c4f56d95
commit 93d8e09808
9 changed files with 189 additions and 3 deletions

34
.github/workflows/testing_pr.yml vendored Normal file
View File

@@ -0,0 +1,34 @@
name: "Testing Pull Request"
on:
pull_request:
branches:
- "master"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
python-version: [3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install .[test]
- name: Test with pytest
run: |
python3 -m pytest