From cf7ac477325ac4acd93868de53062bbbbca4ac28 Mon Sep 17 00:00:00 2001 From: Thibault Date: Mon, 6 May 2024 23:28:06 +0200 Subject: [PATCH] ci: update ci and add format check and tests --- .github/workflows/build_image.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build_image.yml b/.github/workflows/build_image.yml index 686f251..92d127f 100644 --- a/.github/workflows/build_image.yml +++ b/.github/workflows/build_image.yml @@ -21,6 +21,16 @@ jobs: uses: actions/checkout@v4 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + + - name: Run tests + uses: actions/setup-python@v5 + with: + python-version: "3.11" + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + black --check . + pytest - name: Login to Docker Hub uses: docker/login-action@v3