Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chrystalchern committed May 26, 2024
1 parent a44461d commit 8810ed4
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 23 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/learn-github-actions.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: run-tests
run-name: Run tests on latest push from ${{ github.actor }}
on: [push]
jobs:
check-bats-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Python '3.9'
uses: actions/setup-python@v3
with:
python-version: '3.9'

- name: Install dependencies
run: |
python -m pip install --upgrade pip pytest nbmake opensees
python -m pip install -e .
- name: Unit tests
run: python -m pytest
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@
.ipynb_checkpoints/
PUBLISHING.md
__pycache__/
#assets/
dist
notebooks/PEERNGARecords_Unscaled/
studies/
tests/
src/ssid/
_build
docs/theory/out/
Expand Down
3 changes: 3 additions & 0 deletions tests/test_basics.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
def test_srim_harmonic_undamped():
assert 1 == 1

7 changes: 0 additions & 7 deletions tests/test_srim.sh

This file was deleted.

0 comments on commit 8810ed4

Please sign in to comment.