-
Notifications
You must be signed in to change notification settings - Fork 2
66 lines (63 loc) · 2.33 KB
/
build-darwin.yaml
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
name: "darwin tests for 'kiara'"
# This workflow is triggered on pushes to the repository.
on: [push]
env:
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer
MACOSX_DEPLOYMENT_TARGET: 10.15
jobs:
test-darwin:
name: pytest on darwin
runs-on: macos-14
strategy:
matrix:
python_version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: "Set up Python ${{ matrix.python_version }}"
uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python_version }}"
- name: pip cache
id: pip-cache
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.*') }}-macos-14
- uses: actions/checkout@v4
- name: install core_types plugin
run: pip install -U git+https://github.com/DHARPA-project/kiara_plugin.core_types@develop
- name: install tabular types plugin
run: pip install -U git+https://github.com/DHARPA-project/kiara_plugin.tabular@develop
- name: install kiara
run: pip install -U .[dev_testing]
- name: display installed kiara and module package versions
run: pip list | grep kiara
- name: test with pytest
run: make test
# test-darwin-arm:
# name: pytest on darwin (ARM)
# runs-on: macos-14-arm64
# strategy:
# matrix:
# python_version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
# steps:
# - name: "Set up Python ${{ matrix.python_version }}"
# uses: actions/setup-python@v5
# with:
# python-version: "${{ matrix.python_version }}"
# - name: pip cache
# id: pip-cache
# uses: actions/cache@v4
# with:
# path: ~/.cache/pip
# key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.*') }}-arm
# - uses: actions/checkout@v4
# - name: install core_types plugin
# run: pip install -U git+https://github.com/DHARPA-project/kiara_plugin.core_types@develop
# - name: install tabular types plugin
# run: pip install -U git+https://github.com/DHARPA-project/kiara_plugin.tabular@develop
# - name: install kiara
# run: pip install -U .[dev_testing]
# - name: display installed kiara and module package versions
# run: pip list | grep kiara
# - name: test with pytest
# run: make test