Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/macos_arm_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: MacOS ARM64 Tests
on:
pull_request:
workflow_dispatch:
inputs:
git-ref:
description: Git Ref
default: master
required: true
schedule:
- cron: "0 3 * * 0"

jobs:
vulnerability_test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-15]
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies of OpenQuake engine
run: |
curl -L -O https://github.com/gem/oq-engine/raw/master/install.py
python install.py user --version=master
- name: Install vmtk Package
run: |
source ~/openquake/bin/activate
PY_VER=`echo py${{ matrix.python-version }} | tr -d .`
echo $PY_VER
export PIP_DEFAULT_TIMEOUT=100
pip install -r requirements-$PY_VER-linux.txt
pip install -e .
- name: Run tests
run: |
source ~/openquake/bin/activate
cd openquake/vmtk
pytest -v --doctest-modules -x --color=yes --durations=10 tests/
Loading