Skip to content

Commit

Permalink
Add github workflow tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SmileyChris committed Jun 12, 2024
1 parent ffab5c9 commit 9527d3a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Tests

on:
- push
- pull_request

permissions:
contents: read

jobs:
tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: pip
- name: Install dependencies
run: python -m pip install ".[tests]"
- name: Test with pytest
run: pytest

0 comments on commit 9527d3a

Please sign in to comment.