Merge branch 'main' of github.com:ironArray/Caterva2 #399
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |