updated workflow #40

Merged
brian merged 2 commits from add_test_workflow into main 2024-06-05 21:51:52 +02:00
2 changed files with 12 additions and 27 deletions
-25
View File
@@ -1,25 +0,0 @@
name: Code Quality Pipeline
run-name: ${{ gitea.actor }} is running the Code Quality Pipeline
on: push
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup Environment
uses: https://github.com/actions/setup-python@v3
with:
python-verison: "3.12"
architecture: "x64"
- name: Install Packages
run: |
pip install poetry
poetry install
- name: PEP8 Check
run: |
poetry run flake8 . --benchmark
- name: Type Check
run: |
poetry run mypy . --disable-error-code=import-untyped
+12 -2
View File
@@ -1,7 +1,17 @@
name: release-tag
on: workflow_dispatch
on:
workflow_dispatch:
inputs:
version:
description: 'The version number to deploy'
required: true
jobs:
release-image:
runs-on: ubuntu-latest
steps:
- run: echo "manual trigger executed"
-
run: echo "manual trigger executed"
-
run: echo "$MESSAGE"
env:
MESSAGE; ${{ github.event.inputs.version}}