Skip to content

Commit

Permalink
Run integration tests on pull requests (#16)
Browse files Browse the repository at this point in the history
* Run integration tests on pull requests

* Bumped pip to 20.3.3; removed pip upgrade in workflow
  • Loading branch information
ffeltrinelli committed Jan 1, 2021
1 parent 7329ba6 commit ab6944e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build and test

on:
pull_request

jobs:
build:

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
python-version: ['3.7', '3.8']

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install -r requirements_dev.txt
python -m pip install -e .
- name: Integration tests
run: |
python -m pytest tests/integration
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pip==20.0.2
pip==20.3.3
wheel==0.34.2
twine==3.1.1
pytest==6.2.1

0 comments on commit ab6944e

Please sign in to comment.