From 8b1283f29502fc34c089b17149a138f597f70714 Mon Sep 17 00:00:00 2001 From: Karl Moos Date: Thu, 20 Jun 2024 11:18:33 -0500 Subject: [PATCH] Update CI --- .github/workflows/flake8.yml | 20 -------------------- .github/workflows/linuxci.yml | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 20 deletions(-) delete mode 100644 .github/workflows/flake8.yml create mode 100644 .github/workflows/linuxci.yml diff --git a/.github/workflows/flake8.yml b/.github/workflows/flake8.yml deleted file mode 100644 index d2a1e69..0000000 --- a/.github/workflows/flake8.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: flake8 Lint - -on: [push, pull_request] - -jobs: - flake8-lint: - runs-on: ubuntu-latest - name: Lint - steps: - - name: Check out source repository - uses: actions/checkout@v2 - - name: Set up Python environment - uses: actions/setup-python@v1 - with: - python-version: "3.8" - - name: flake8 Lint - uses: py-actions/flake8@v1 - with: - ignore: "F401" - max-line-length: "120" diff --git a/.github/workflows/linuxci.yml b/.github/workflows/linuxci.yml new file mode 100644 index 0000000..e749b0d --- /dev/null +++ b/.github/workflows/linuxci.yml @@ -0,0 +1,25 @@ +name: Linux CI + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ] + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + architecture: x64 + - name: Python environment report + run: python -c "import sys; print(sys.version)" + - name: flake8 Lint + uses: py-actions/flake8@v2 + with: + ignore: "F401" + max-line-length: "120" +