Skip to content

Commit

Permalink
generic action for CI at PR
Browse files Browse the repository at this point in the history
  • Loading branch information
ndem0 committed Nov 16, 2021
1 parent 3f4a37c commit 2ae4c5a
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/testing_pr.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2ae4c5a

Please sign in to comment.