-
-
Notifications
You must be signed in to change notification settings - Fork 19
31 lines (30 loc) · 745 Bytes
/
Copy pathnightly_testing.yml
File metadata and controls
31 lines (30 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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@v5
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