From 0d9148bb49b8947ad641df7c35143bce952927e2 Mon Sep 17 00:00:00 2001 From: Cat Smith <910384+catsmith@users.noreply.github.com> Date: Mon, 12 Feb 2024 18:27:17 +0000 Subject: [PATCH] add CI --- .github/workflows/ci-flake8.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/ci-flake8.yml diff --git a/.github/workflows/ci-flake8.yml b/.github/workflows/ci-flake8.yml new file mode 100644 index 0000000..b56f97d --- /dev/null +++ b/.github/workflows/ci-flake8.yml @@ -0,0 +1,26 @@ +name: ci-flake8 + +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + max-parallel: 4 + matrix: + python-version: [3.10] + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install Dependencies + run: | + python -m pip install --upgrade pip + pip install -e .[linting] + - name: Run flake8 + run: | + flake8 -v . \ No newline at end of file