-
-
Notifications
You must be signed in to change notification settings - Fork 1k
67 lines (53 loc) · 1.66 KB
/
scheduled_test_cpu.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: Tests on CPU (scheduled)
on:
push:
branches: [main, test-me-*]
schedule:
- cron: "0 4 * * *"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests-cpu-ubuntu:
strategy:
fail-fast: false
matrix:
# os: ['Ubuntu-latest', 'Windows-latest', 'MacOS-latest']
pytorch-dtype: ['float32', 'float64']
uses: kornia/workflows/.github/workflows/tests.yml@v1.10.1
with:
os: 'Ubuntu-latest'
python-version: '["3.8", "3.9", "3.10", "3.11", "3.12"]'
pytorch-version: '["1.9.1", "1.10.2", "1.11.0", "1.12.1", "1.13.1", "2.0.1", "2.1.2", "2.2.2", "2.3.1"]'
pytorch-dtype: ${{ matrix.pytorch-dtype }}
pytest-extra: '--runslow'
tests-cpu-windows:
strategy:
fail-fast: true
matrix:
pytorch-dtype: ['float32', 'float64']
uses: kornia/workflows/.github/workflows/tests.yml@v1.10.1
with:
os: 'Windows-latest'
python-version: '["3.12"]'
pytorch-version: '["1.9.1", "2.3.1"]'
pytorch-dtype: ${{ matrix.pytorch-dtype }}
tests-cpu-mac:
strategy:
fail-fast: true
matrix:
pytorch-dtype: ['float32', 'float64']
uses: kornia/workflows/.github/workflows/tests.yml@v1.10.1
with:
os: 'MacOS-latest'
pytorch-dtype: ${{ matrix.pytorch-dtype }}
coverage:
uses: kornia/workflows/.github/workflows/coverage.yml@v1.10.1
typing:
uses: kornia/workflows/.github/workflows/mypy.yml@v1.10.1
tutorials:
uses: kornia/workflows/.github/workflows/tutorials.yml@v1.10.1
docs:
uses: kornia/workflows/.github/workflows/docs.yml@v1.10.1
with:
python-version: "3.11"