-
-
Notifications
You must be signed in to change notification settings - Fork 61
56 lines (54 loc) · 1.53 KB
/
Copy pathinstall-software.yml
File metadata and controls
56 lines (54 loc) · 1.53 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
49
50
51
52
53
54
55
56
name: Install software
on:
push:
pull_request:
jobs:
install_main_only_with_pip3:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Install with pip3 - no extras
run: |
uv run pip install .
uv run pip show syncall
install_extras_with_pip3:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
python-version: ["3.11", "3.12", "3.13", "3.14"]
# use python-extra AND executable to tests its imports
# https://stackoverflow.com/questions/66025220/paired-values-in-github-actions-matrix
python-extra:
[
"tw,google,notion,gkeep,asana,caldav",
"tw",
"google",
"notion",
"gkeep",
"asana",
"caldav",
]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Install with pip3 - with ${{ matrix.python-extra }}
run: |
uv run pip install ".[${{ matrix.python-extra }}]"
uv run pip show syncall