Skip to content

Commit

Permalink
added workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Berenz committed Oct 10, 2024
1 parent 4fde69d commit aaff44e
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 3 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: unit tests

on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-20.04

strategy:
matrix:
python-version: [3.9.2]

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 poetry
poetry install --with test
- name: Run tests
run: |
poetry run pytest
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

0 comments on commit aaff44e

Please sign in to comment.