-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pytest, remove unused templates (#68)
- Loading branch information
Showing
5 changed files
with
53 additions
and
140 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Run Pytest | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
pytest: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.12' | ||
|
||
- name: Install global dependencies | ||
run: | | ||
pip install poetry | ||
pip install pytest | ||
pip install numpy | ||
pip install polars | ||
- name: Test in ${{matrix.directories}} | ||
working-directory: ${{matrix.directories}} | ||
run: | | ||
poetry install | ||
poetry run pytest -v |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.