From e67151846a3f09037bd845302b970181d3663365 Mon Sep 17 00:00:00 2001 From: Joshue Abance Date: Fri, 3 Jan 2025 21:54:26 +0800 Subject: [PATCH] ci: use python 3.12 --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 352363b..f308b0d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,8 +7,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10"] - + python-version: ["3.12"] + steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} @@ -23,9 +23,9 @@ jobs: - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names - flake8 api/ --count --select=E9,F63,F7,F82 --show-source --statistics + flake8 app/ --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - flake8 api/ --count --exit-zero --max-complexity=10 --max-line-length=88 --statistics + flake8 app/ --count --exit-zero --max-complexity=10 --max-line-length=88 --statistics - name: Test with pytest run: | pytest