From ed78b6ee6d5078353390e6b6698a16f35c0a06a3 Mon Sep 17 00:00:00 2001 From: Thibault Date: Mon, 6 May 2024 23:31:21 +0200 Subject: [PATCH] ci --- .github/workflows/build_image.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_image.yml b/.github/workflows/build_image.yml index 92d127f..ccaa35f 100644 --- a/.github/workflows/build_image.yml +++ b/.github/workflows/build_image.yml @@ -22,15 +22,21 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Run tests + - name: Setup Python uses: actions/setup-python@v5 with: python-version: "3.11" + + - name: Install requirements run: | python -m pip install --upgrade pip pip install -r requirements.txt - black --check . - pytest + + - name: Run Black check + run: black --check . + + - name: Run Pytest + run: pytest - name: Login to Docker Hub uses: docker/login-action@v3