test #956
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
schedule: | |
- cron: "0 0 * * *" | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
target: ["3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: build | |
run: | | |
docker compose build --build-arg PYTHON_VERSION=${{ matrix.target }} | |
- name: pre-commit | |
run: | | |
docker compose run pre-commit | |
- name: build-wheel | |
run: | | |
docker compose run build-wheel | |
- name: install-wheel | |
run: | | |
docker compose run install-wheel | |
results: | |
if: ${{ always() }} | |
runs-on: ubuntu-latest | |
needs: [test] | |
steps: | |
- name: results | |
if: ${{ needs.test.result != 'success' }} | |
run: exit 1 |