-
Notifications
You must be signed in to change notification settings - Fork 2
48 lines (43 loc) · 1.32 KB
/
python-app-arm64.yml
File metadata and controls
48 lines (43 loc) · 1.32 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
# This workflow will run on an external ubicloud arm64 runner on latest ubuntu (ubicloud standard)
name: Python application (ubuntu, arm64)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubicloud-standard-2-arm
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y python3-dev libhdf5-dev pkg-config
- name: Install dependencies
run: |
# Use the Python in Ubuntu system
python -m pip install --upgrade pip
pip install -e '.[tests,hdf5]'
# Use the version of python-blosc2 in main for now
#pip install git+https://github.com/Blosc/python-blosc2.git
# Workaround until we fix the issue with proxies
pip install git+https://github.com/Blosc/python-blosc2.git
- name: Test with pytest
run: |
python -m pytest
- name: Test with pytest (auth on)
run: |
python -m pytest
env:
CATERVA2_SECRET: c2sikrit
- name: Test building docs
run: |
python -m pip install -r doc/requirements.txt
sphinx-build doc doc/html