From 8038dc8780e29b68edb838c0c94df5d816f639e0 Mon Sep 17 00:00:00 2001 From: Emily Yu Date: Wed, 13 Nov 2024 22:45:26 -0500 Subject: [PATCH] Add pytest to CI pipeline --- .github/workflows/f24_translator-service-hunan-hunters.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/f24_translator-service-hunan-hunters.yml b/.github/workflows/f24_translator-service-hunan-hunters.yml index 8fdf0ef..e8e605c 100644 --- a/.github/workflows/f24_translator-service-hunan-hunters.yml +++ b/.github/workflows/f24_translator-service-hunan-hunters.yml @@ -30,7 +30,10 @@ jobs: - name: Install dependencies run: pip install -r requirements.txt - # Optional: Add step to run tests here (PyTest, Django test suites, etc.) + - name: Test with pytest + run: | + pytest + - name: Zip artifact for deployment run: zip release.zip ./* -r