Skip to content

test

test #986

Workflow file for this run

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