Skip to content

Commit

Permalink
Add github actions to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-piles committed Sep 16, 2024
1 parent 4e202dc commit acbd0f9
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Test

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11

- name: Install venv
run: make install_venv

- name: Lint with black
run: make check_format

- name: Start service
run: make start_detached

- name: Test with unittest
run: make test

0 comments on commit acbd0f9

Please sign in to comment.