By vectorizing computations and using Numba JIT, the performance of SRISK calculations has been significantly improved. #62
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
name: Test | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- "test" # only run when there is a "test" tag on push | |
pull_request: | |
branches: [ "main" ] | |
env: | |
KMP_DETERMINISTIC_REDUCTION: yes | |
MKL_CBWR: AUTO | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
max-parallel: 4 | |
fail-fast: false | |
matrix: | |
python-version: [3.8, 3.9, "3.10", 3.11] | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest | |
pip install . | |
- name: Run Tests | |
run: | | |
pytest |