From 5ce5e984ff10e1647005a25be1e8bb58824dd04d Mon Sep 17 00:00:00 2001 From: Nicholas Bianco Date: Fri, 20 Sep 2024 15:12:53 -0700 Subject: [PATCH] Add in unit tests --- .github/workflows/continuous_integration.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index 9f2ea86..06ef308 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -22,4 +22,11 @@ jobs: python-version: '3.10' - name: Install dependencies - run: python3 -m pip install -r server/engine/requirements.txt \ No newline at end of file + run: python3 -m pip install -r server/engine/requirements.txt + + + - name: Run tests + run: | + cd server/engine + python3 -m unittest tests.test_subject.TestSubject + python3 -m unittest tests.test_trial.TestTrial \ No newline at end of file