feat: add testing job to build-container workflow and remove redundant push trigger from test-application workflow
Build and Deploy Docker Container / test (push) Failing after 26s
Build and Deploy Docker Container / build-and-deploy (push) Has been skipped

This commit is contained in:
2026-05-10 11:34:27 +02:00
parent c15e9bbd7c
commit 1dcd80a8bb
2 changed files with 24 additions and 3 deletions
+24
View File
@@ -7,7 +7,31 @@ on:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Create and activate virtual environment
run: |
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pip install pytest
- name: Run tests
run: |
source venv/bin/activate
pytest --maxfail=1 --disable-warnings -q
build-and-deploy:
needs: test
runs-on: ubuntu-latest
steps:
- name: Check out repository code
-3
View File
@@ -4,9 +4,6 @@ on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
test: