From 4a6d0dbe0920aea4c387a0eb3e6b2938f15e219c Mon Sep 17 00:00:00 2001 From: Brian Bjarke Jensen Date: Mon, 20 May 2024 20:19:40 +0200 Subject: [PATCH] updated workflows --- .gitea/workflows/default.yaml | 2 -- .gitea/workflows/publish.yaml | 5 ++--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/default.yaml b/.gitea/workflows/default.yaml index 24eb2f1..ce5f83a 100644 --- a/.gitea/workflows/default.yaml +++ b/.gitea/workflows/default.yaml @@ -1,8 +1,6 @@ name: Code Quality Pipeline run-name: ${{ gitea.actor }} is running the Code Quality Pipeline -runs-on: ubuntu-latest on: push -image: python:3.12 jobs: test: name: Test diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index fcbf00d..b6241ff 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -1,6 +1,5 @@ name: CI Pipeline run-name: ${{ gitea.actor }} is running the CI Pipeline -runs-on: ubuntu-latest on: pull_request: branches: @@ -23,10 +22,10 @@ jobs: poetry install - name: PEP8 Check run: | - poetry run flake8 ./src --benchmark + poetry run flake8 . --benchmark - name: Type Check run: | - poetry run mypy ./src --disable-error-code=import-untyped + poetry run mypy . --disable-error-code=import-untyped publish: name: Build and Publish runs-on: ubuntu-latest