Nightly Testing #334
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: Nightly Testing | |
on: | |
schedule: | |
# Set with UTC time | |
- cron: "0 5 * * *" | |
env: | |
PYTHON_VERSION: "3.12" | |
jobs: | |
random-test-order: | |
strategy: | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
with: | |
enable-cache: true | |
- name: install Just | |
uses: taiki-e/install-action@just | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- name: Install Dependencies | |
run: | | |
just install | |
uv pip install pytest-randomly | |
- name: Test with pytest in random order | |
run: just test-ci |