Skip to content

Commit

Permalink
Add pytest, remove unused templates (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
afmagee42 authored Dec 16, 2024
1 parent 4512f6e commit 060d63e
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 140 deletions.
38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

17 changes: 0 additions & 17 deletions .github/ISSUE_TEMPLATE/scientific-improvement.md

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/run-pytest.yaml
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
86 changes: 21 additions & 65 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 060d63e

Please sign in to comment.