Skip to content

Commit

Permalink
test it with GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Sep 2, 2024
1 parent 45d7daf commit feb2d66
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Testing

on:
push:
branches: ["master"]
tags: ["*"]
pull_request:
branches: ["master"]

defaults:
run:
shell: bash

jobs:
pytester:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10"]
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
pip install -e . -r tests/requirements.txt
- name: Run tests
run: |
pytest tests/

0 comments on commit feb2d66

Please sign in to comment.