From ce5aa9fe28b733a20943da7ad97ad44e9b045ad3 Mon Sep 17 00:00:00 2001 From: Andrei Date: Fri, 4 Oct 2024 17:51:57 +0300 Subject: [PATCH] Update build.yml --- .github/workflows/{test_build.yml => build.yml} | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) rename .github/workflows/{test_build.yml => build.yml} (68%) diff --git a/.github/workflows/test_build.yml b/.github/workflows/build.yml similarity index 68% rename from .github/workflows/test_build.yml rename to .github/workflows/build.yml index 89a1775..92a2fc9 100644 --- a/.github/workflows/test_build.yml +++ b/.github/workflows/build.yml @@ -4,13 +4,13 @@ on: push: branches: [ "main", "release"] paths: - - '.github/workflows/test_build.yml' + - '.github/workflows/build.yml' - 'src/**' - 'Makefile' pull_request: branches: [ "main", "release"] paths: - - '.github/workflows/test_build.yml' + - '.github/workflows/build.yml' - 'src/**' - 'Makefile' @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 @@ -30,6 +30,4 @@ jobs: python-version: ${{ matrix.python-version }} - name: Local build checking - run: | - pip install twine wheel - cd src/ && python setup.py sdist bdist_wheel + run: make build