Skip to content

Commit

Permalink
Create GHA to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Carson-Shaar committed Sep 15, 2023
1 parent 42a03fc commit 7d965ec
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Run Backend Tests

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs_on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9

- name: Install dependencies and run tests
run: |
cd zt_backend
python -m pip install --upgrade pip
pip install -r requirements.txt
pytest tests/
File renamed without changes.

0 comments on commit 7d965ec

Please sign in to comment.