Skip to content

Commit

Permalink
Made a pytest github action and removed unused sphinx action
Browse files Browse the repository at this point in the history
  • Loading branch information
NickSwainston committed Nov 8, 2023
1 parent 3ca3c3d commit d1772e6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 36 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Pytest

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install .
- name: Test with pytest
run: |
pytest
36 changes: 0 additions & 36 deletions .github/workflows/sphinx.yml

This file was deleted.

0 comments on commit d1772e6

Please sign in to comment.