From 3d756ef54e375612808dc10c0b912b1b16ed8fc6 Mon Sep 17 00:00:00 2001 From: jurgenwigg Date: Tue, 3 Oct 2023 20:52:04 +0000 Subject: [PATCH] feat: changed name of pylint workflow --- .github/workflows/pylint.yml | 23 +++++++++++++++++++++++ .github/workflows/python-package.yml | 27 --------------------------- 2 files changed, 23 insertions(+), 27 deletions(-) create mode 100644 .github/workflows/pylint.yml delete mode 100644 .github/workflows/python-package.yml diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml new file mode 100644 index 0000000..b211a6b --- /dev/null +++ b/.github/workflows/pylint.yml @@ -0,0 +1,23 @@ +name: Pylint + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.8", "3.9", "3.10"] + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install tox + - name: Analysing the code with pylint + run: | + tox -e lint \ No newline at end of file diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml deleted file mode 100644 index 4c0ea76..0000000 --- a/.github/workflows/python-package.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: check_lint -on: - push: - pull_request: - -concurrency: - group: check-${{ github.ref }} - cancel-in-progress: true - -jobs: - test: - name: Check formatting - runs-on: ubuntu-latest - strategy: - fail-fast: false - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Setup python 3.11 - uses: actions/setup-python@v4 - with: - python-version: 3.11 - - name: Install tox - run: python -m pip install '.[test]' - - name: Run test suite - run: tox -e lint