test Actions #1437
This file contains hidden or 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 | |
| run-name: test Actions | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| run-all-test: | |
| runs-on: ubuntu-latest | |
| needs: [import-correct] | |
| strategy: | |
| matrix: | |
| python-version: ['3.10'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup-env | |
| - name: run test | |
| timeout-minutes: 4 | |
| run: uv run pytest __tests/ | |
| shell: bash | |
| import-correct: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.9'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup-env | |
| - name: run | |
| timeout-minutes: 1 | |
| run: | | |
| uv run python -c "import ex4nicegui;from ex4nicegui.reactive import rxui;from ex4nicegui import bi" | |