Skip to content

Commit

Permalink
Merge pull request #23 from johnandersen777/pytest
Browse files Browse the repository at this point in the history
use pytest for integration tests
  • Loading branch information
DavidBuchanan314 authored Dec 15, 2024
2 parents 8619b6a + 6d3ea02 commit e1fcd84
Show file tree
Hide file tree
Showing 4 changed files with 268 additions and 161 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Run tests
run-name: ${{ github.actor }} is running tests
on: push
on:
push:
branches:
- '*'
pull_request:
branches:
- main
jobs:
Tests:
runs-on: ubuntu-latest
Expand All @@ -17,4 +23,4 @@ jobs:
python3 -m pip install .[test]
- name: Run the tests
run: |
./tests/run_integration_test.sh
python3 -m pytest tests/integration_test.py
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ docs = [ # uhhhhh I'm not currently using these lol
]
test = [
"requests",
"pytest",
"pytest-aio",
"pytest-aiohttp",
]

[project.urls]
Expand Down
Loading

0 comments on commit e1fcd84

Please sign in to comment.