Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
SimeonEhrig committed Feb 12, 2024
1 parent c292b0f commit 70468ab
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 42 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: lint-code
on: [push, pull_request_target]
jobs:
mypy-linter:
name: run mypy linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.12"
architecture: x64
- name: Install bashi
run: |
pip install .
- name: Install mypy
run: |
pip install mypy
- name: Run mypy
uses: wearerequired/lint-action@v2
with:
mypy: true

pylint-linter:
name: run pylint linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.12"
architecture: x64
- name: Install bashi
run: |
pip install .
- name: Install pylint
run: |
pip install pylint
- name: Run pylint
uses: wearerequired/lint-action@v2
with:
pylint: true
42 changes: 0 additions & 42 deletions .github/workflows/testDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,48 +12,6 @@ jobs:
src: "./"
version: "~= 24.0"

mypy-linter:
name: run mypy linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.12"
architecture: x64
- name: Install bashi
run: |
pip install .
- name: Install mypy
run: |
pip install mypy
- name: Run mypy
uses: wearerequired/lint-action@v2
with:
mypy: true

pylint-linter:
name: run pylint linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.12"
architecture: x64
- name: Install bashi
run: |
pip install .
- name: Install pylint
run: |
pip install pylint
- name: Run pylint
uses: wearerequired/lint-action@v2
with:
pylint: true

unit-tests:
runs-on: ubuntu-latest
needs: formatter
Expand Down

0 comments on commit 70468ab

Please sign in to comment.