Skip to content

Commit

Permalink
GH workflow to run unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreibancioiu committed May 10, 2024
1 parent eba7adc commit 2ace8c8
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Run tests

on:
pull_request:
workflow_dispatch:

jobs:
run-tests:
name: Run tests on ${{ matrix.os }}, python ${{ matrix.python-version }}

runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.8]

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Test with pytest
run: |
pytest .

0 comments on commit 2ace8c8

Please sign in to comment.