From 4448647e56c904fa792d7dbd3d26e979e6a95461 Mon Sep 17 00:00:00 2001 From: Adrian Zuur Date: Mon, 15 Jan 2024 20:16:39 -0500 Subject: [PATCH] add github action yaml --- .github/workflows/ci.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..2831dd8 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,20 @@ +name: Pre-commit Hooks + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Python 3.8 + uses: actions/setup-python@v3 + with: + python-version: 3.8 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pre-commit + - name: Analysing the code with pylint + run: | + SKIP=no-commit-to-branch pre-commit run --all-files