From 63cebcaaf1e2c68f9275ff455a05284016825f93 Mon Sep 17 00:00:00 2001 From: jnorambu Date: Tue, 7 May 2024 20:08:39 -0400 Subject: [PATCH] Creating test module --- .github/workflows/push_event_workflow.yml | 17 +++++++++++++++++ tests/test.py | 8 ++++++++ 2 files changed, 25 insertions(+) create mode 100644 .github/workflows/push_event_workflow.yml create mode 100644 tests/test.py diff --git a/.github/workflows/push_event_workflow.yml b/.github/workflows/push_event_workflow.yml new file mode 100644 index 0000000..cc40173 --- /dev/null +++ b/.github/workflows/push_event_workflow.yml @@ -0,0 +1,17 @@ +name: Push Event Workflow + +on: push + +jobs: + unit-testing: + runs-on: ubuntu-latest + + steps: + - name : Checkout code + uses : actions/checkout@v4 + + - name : Install Packages + run : pip install pytest + + - name : Run tests + run : pytest tests/test.py diff --git a/tests/test.py b/tests/test.py new file mode 100644 index 0000000..2c4a504 --- /dev/null +++ b/tests/test.py @@ -0,0 +1,8 @@ +def test_hamiltonian_molecule(): + assert 1==1 + +def test_hamiltonian_spin(): + assert 1==1 + +def test_hamiltonian_fh(): + assert 1==1