tofix/merge-testing-to-main #6

Merged
anti merged 15 commits from tofix/merge-testing-to-main into main 2026-04-13 13:49:48 +02:00
Showing only changes of commit ea9f7e734b - Show all commits

View File

@@ -19,20 +19,6 @@ jobs:
- run: pip install ruff
- run: ruff check .
test:
name: Test (pytest)
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install -e .[dev]
- run: pytest tests/ -v --tb=short
bandit:
name: SAST (bandit)
runs-on: ubuntu-latest
@@ -56,10 +42,27 @@ jobs:
- run: pip install -e .[dev]
- run: pip-audit --skip-editable
test:
name: Test (pytest)
runs-on: ubuntu-latest
needs: [lint, bandit, pip-audit]
strategy:
fail-fast: true
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install -e .[dev]
- run: pytest -m ""
merge-to-testing:
name: Merge dev → testing
runs-on: ubuntu-latest
needs: [lint, test, bandit, pip-audit]
needs: test
if: github.ref == 'refs/heads/dev'
steps:
- uses: actions/checkout@v4
@@ -74,13 +77,13 @@ jobs:
run: |
git fetch origin testing
git checkout testing
git merge origin/dev --no-ff -m "ci: auto-merge dev → testing"
git merge origin/dev --no-ff -m "ci: auto-merge dev → testing [skip ci]"
git push origin testing
open-pr:
name: Open PR to main
runs-on: ubuntu-latest
needs: [lint, test, bandit, pip-audit]
needs: test
if: github.ref == 'refs/heads/testing'
steps:
- name: Open PR via Gitea API