Skip to content

Commit

Permalink
Run Tests on GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
amol- committed Dec 6, 2022
1 parent d4ab7d3 commit 4e26fb0
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/runtests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Run Tests
on: [push, pull_request]
jobs:
build:
name: Run tests
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
runs-on: ${{ matrix.os }}
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 --upgrade pip
pip install -U --upgrade-strategy=eager --pre -e .[testsuite]
- name: Test with pytest
run: |
pytest -vv

0 comments on commit 4e26fb0

Please sign in to comment.