Skip to content

Commit

Permalink
Merge pull request #10 from ashermorgan/e2e-tests
Browse files Browse the repository at this point in the history
Add end to end tests
  • Loading branch information
ashermorgan authored Apr 20, 2024
2 parents 2865cd9 + 6f13c94 commit a189463
Show file tree
Hide file tree
Showing 5 changed files with 988 additions and 636 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'

- name: Install dependencies
run: pip install -r requirements.txt

- name: Run tests with unittest
run: python -m unittest
- name: Install playwright browsers
run: playwright install

- name: Run tests with pytest
run: python -m pytest
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@ flask
python-dotenv
python-pptx
requests
pytest
pytest-mock
pytest-playwright
pytest-xprocess
Loading

0 comments on commit a189463

Please sign in to comment.