From 6514c635982e625b2db86fbce1f546fdc264bdf0 Mon Sep 17 00:00:00 2001 From: Anna Date: Tue, 12 Nov 2024 10:33:24 -0800 Subject: [PATCH] added python tests to the ci --- .github/workflows/ci.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b262c11a..c4c4c90f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,24 +45,24 @@ jobs: - name: Type check with mypy run: mypy --config-file mypy.ini . - # python_test: - # runs-on: ubuntu-latest - # steps: - # - name: Checkout Code - # uses: actions/checkout@v4 - - # - name: Set up Python - # uses: actions/setup-python@v4 - # with: - # python-version: 3.11 + python_test: + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v4 - # - name: Install Python Test Dependencies - # run: | - # python -m pip install --upgrade pip - # pip install pytest + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: 3.11 + + - name: Install Python Test Dependencies + run: | + python -m pip install --upgrade pip + pip install pytest - # - name: Run Python Tests with Pytest - # run: pytest . + - name: Run Python Tests with Pytest + run: pytest backend/database/tests js_test: runs-on: ubuntu-latest