-
Notifications
You must be signed in to change notification settings - Fork 5
46 lines (36 loc) · 1.11 KB
/
test-forks.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Tests (Forks)
on:
pull_request_target:
types: [labeled]
concurrency:
group: test-forks-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
if: ${{ contains(github.event.pull_request.labels.*.name, 'safe to test') && github.event.pull_request.head.repo.fork }}
strategy:
fail-fast: false
matrix:
test_group: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: prefix-dev/[email protected]
id: pixi
continue-on-error: true
with:
environments: test
cache: false
activate-environment: test
- name: Run AMMR tests
run: |
cd Tests
pytest -n 5 --dist worksteal `
--splits 10 --group ${{ matrix.test_group }} --splitting-algorithm=least_duration `
--durations=10 `
--runslow
env:
RLM_LICENSE: ${{ secrets.LICENSE_SERVER }}
RLM_LICENSE_PASSWORD: ${{ secrets.LICENSE_PASSWORD }}