Skip to content

Commit

Permalink
Create run-tests.yml
Browse files Browse the repository at this point in the history
initial add
  • Loading branch information
zcqian committed Aug 3, 2021
1 parent ec56cd8 commit f487518
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions biothings_client/.github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Tests

on:
push: {}
pull_request:
branches:
- master

jobs:
build_package_and_run_tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ 2.7, 3.6, 3.7, 3.8, 3.9 ]
steps:
- name: Checkout source
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: pip install --upgrade pip
- name: Install Package and Test Dependencies
run: pip install ".[test]" .
- name: Run Tests
run: pytest -v tests/*.py

0 comments on commit f487518

Please sign in to comment.