github test action

This commit is contained in:
sneakers-the-rat 2023-08-31 15:44:43 -07:00
parent 4ee77dbb2e
commit c45458e748
4 changed files with 30 additions and 0 deletions

29
.github/workflows/tests.yml vendored Normal file
View file

@ -0,0 +1,29 @@
name: Tests
on:
push:
jobs:
build:
strategy:
matrix:
python-version: [3.11]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install .[tests] pytest-md pytest-emoji
- uses: pavelzw/pytest-action@v2
with:
emoji: true
verbose: true
job-summary: true

View file

View file

@ -0,0 +1 @@
import pytest