Skip to content

Commit

Permalink
added python tests to the ci
Browse files Browse the repository at this point in the history
  • Loading branch information
agennadi committed Nov 12, 2024
1 parent e9cc594 commit 6514c63
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6514c63

Please sign in to comment.