From 8d7b106be2d52bf75df35a7b2ae027f7ffc79330 Mon Sep 17 00:00:00 2001 From: Vincent Berenz Date: Fri, 5 Dec 2025 15:53:32 +0100 Subject: [PATCH] removed deprecated gh-workflows and set the ut workflow to py3.12 --- .github/workflows/flake8-problem-matcher.json | 16 -------------- .github/workflows/mypy-problem-matcher.json | 16 -------------- .github/workflows/python_black.yml | 11 ---------- .github/workflows/python_flake8.yml | 21 ------------------- .github/workflows/python_mypy.yml | 21 ------------------- .github/workflows/tests.yaml | 4 ++-- 6 files changed, 2 insertions(+), 87 deletions(-) delete mode 100644 .github/workflows/flake8-problem-matcher.json delete mode 100644 .github/workflows/mypy-problem-matcher.json delete mode 100644 .github/workflows/python_black.yml delete mode 100644 .github/workflows/python_flake8.yml delete mode 100644 .github/workflows/python_mypy.yml diff --git a/.github/workflows/flake8-problem-matcher.json b/.github/workflows/flake8-problem-matcher.json deleted file mode 100644 index fa7c7d1..0000000 --- a/.github/workflows/flake8-problem-matcher.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "problemMatcher": [ - { - "owner": "flake8", - "pattern": [ - { - "regexp": "^(.*?):(\\d+):(\\d+):\\s*(.*?)$", - "file": 1, - "line": 2, - "column": 3, - "message": 4 - } - ] - } - ] -} diff --git a/.github/workflows/mypy-problem-matcher.json b/.github/workflows/mypy-problem-matcher.json deleted file mode 100644 index 00edc49..0000000 --- a/.github/workflows/mypy-problem-matcher.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "problemMatcher": [ - { - "owner": "mypy", - "pattern": [ - { - "regexp": "^(.*?):(\\d+):\\s*(.*?)$", - "file": 1, - "line": 2, - "message": 3 - } - ] - } - ] -} - diff --git a/.github/workflows/python_black.yml b/.github/workflows/python_black.yml deleted file mode 100644 index 7c461a5..0000000 --- a/.github/workflows/python_black.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: Linters - -on: [pull_request] - -jobs: - black: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - - uses: psf/black@stable diff --git a/.github/workflows/python_flake8.yml b/.github/workflows/python_flake8.yml deleted file mode 100644 index a414100..0000000 --- a/.github/workflows/python_flake8.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Linters - -on: [pull_request] - -jobs: - flake8: - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - name: Install - run: | - python3 -m pip install flake8 - - name: Add matcher - run: | - echo "::add-matcher::.github/workflows/flake8-problem-matcher.json" - - name: Lint with flake8 - run: | - python3 -m flake8 --ignore=E203,W503,E501,E266 . diff --git a/.github/workflows/python_mypy.yml b/.github/workflows/python_mypy.yml deleted file mode 100644 index a7f4820..0000000 --- a/.github/workflows/python_mypy.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Linters - -on: [pull_request] - -jobs: - mypy: - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - name: Install - run: | - python3 -m pip install mypy types-requests types-toml - - name: Add matcher - run: | - echo "::add-matcher::.github/workflows/mypy-problem-matcher.json" - - name: Run mypy - run: | - python3 -m mypy --ignore-missing-imports --exclude doc . diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index c782fb3..503e692 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -11,11 +11,11 @@ on: jobs: test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 strategy: matrix: - python-version: [3.9.2] + python-version: [3.12.3] steps: - uses: actions/checkout@v2