From 763c0603d0acae5c763003e84c7d7dc7d802e4ad Mon Sep 17 00:00:00 2001 From: Luca Paulekat <91729008+K0ntr4@users.noreply.github.com> Date: Wed, 10 Apr 2024 14:56:06 +0200 Subject: [PATCH] Create pylama.yml --- .github/workflows/pylama.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/pylama.yml diff --git a/.github/workflows/pylama.yml b/.github/workflows/pylama.yml new file mode 100644 index 0000000..746171e --- /dev/null +++ b/.github/workflows/pylama.yml @@ -0,0 +1,30 @@ +name: Pylama + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + pylama: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.10' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pylama + + - name: Run Pylama + run: pylama --options .pylama.ini .