Skip to content

Commit

Permalink
Merge pull request #12 from Zero-True/tests-GHA
Browse files Browse the repository at this point in the history
Create GHA to run tests
  • Loading branch information
Red-Giuliano authored Sep 18, 2023
2 parents 42a03fc + e7e8671 commit aee94f1
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: |
python -m pip install --upgrade pip
pip install .
pytest zt_backend/tests/
File renamed without changes.

0 comments on commit aee94f1

Please sign in to comment.