Skip to content

Commit

Permalink
- adding tests workflow;
Browse files Browse the repository at this point in the history
  • Loading branch information
jaltmayerpizzorno committed Feb 1, 2024
1 parent ca2b286 commit 86d9f08
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: tests

on:
push:
paths:
- src/**
- test/**

pull_request:

workflow_dispatch:

jobs:
run-tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
python: [ '3.10', '3.11', '3.12' ]

steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}

- name: install dependencies
run: |
python3 -m pip install pytest
python3 -m pip install -e .
- name: run tests
run: python3 -m pytest

0 comments on commit 86d9f08

Please sign in to comment.