-
Notifications
You must be signed in to change notification settings - Fork 96
48 lines (39 loc) · 1.07 KB
/
latest.yml
File metadata and controls
48 lines (39 loc) · 1.07 KB
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
name: Python package (latest)
# This is a variant of the workflow in build.yml to check incompatibilities for the
# very latest versions of Python and the core dependencies.
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: Cache dependencies
id: pip-cache
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip-os_latest
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python 3.14
uses: actions/setup-python@v5
with:
python-version: "3.14"
- name: Install package
run: |
python -m pip install --upgrade pip setuptools wheel --pre
python -m pip install --pre torch --extra-index-url https://download.pytorch.org/whl/cpu
pip install --pre '.[dev]'
- name: Run pytest tests
timeout-minutes: 15
run: |
make test_reduced
- name: Build package
run: |
make build