Update build.yml
This commit is contained in:
parent
3d6b4757f1
commit
ce5aa9fe28
|
@ -4,13 +4,13 @@ on:
|
||||||
push:
|
push:
|
||||||
branches: [ "main", "release"]
|
branches: [ "main", "release"]
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/test_build.yml'
|
- '.github/workflows/build.yml'
|
||||||
- 'src/**'
|
- 'src/**'
|
||||||
- 'Makefile'
|
- 'Makefile'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main", "release"]
|
branches: [ "main", "release"]
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/test_build.yml'
|
- '.github/workflows/build.yml'
|
||||||
- 'src/**'
|
- 'src/**'
|
||||||
- 'Makefile'
|
- 'Makefile'
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
|
python-version: ["3.9", "3.10", "3.11", "3.12"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -30,6 +30,4 @@ jobs:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
- name: Local build checking
|
- name: Local build checking
|
||||||
run: |
|
run: make build
|
||||||
pip install twine wheel
|
|
||||||
cd src/ && python setup.py sdist bdist_wheel
|
|
Loading…
Reference in New Issue