From 35079d348e3c3b88d3bf629c897b15452f7d895c Mon Sep 17 00:00:00 2001 From: Ben Webb Date: Fri, 21 Jun 2024 16:37:59 -0700 Subject: [PATCH] Check with flake8 after push --- .github/workflows/flake.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/flake.yml diff --git a/.github/workflows/flake.yml b/.github/workflows/flake.yml new file mode 100644 index 0000000..7b8e8a7 --- /dev/null +++ b/.github/workflows/flake.yml @@ -0,0 +1,24 @@ +name: flake + +on: [push, pull_request] + +jobs: + flake: + + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest] + python-version: ["3.12"] + runs-on: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Test + run: | + pip install flake8 + flake8 .