Skip to content

try same encodings as openfast toolbox #60

try same encodings as openfast toolbox

try same encodings as openfast toolbox #60

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
build_pip:
name: Build (${{ matrix.os }} Python ${{ matrix.python-version }})
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: False
matrix:
os: ["ubuntu-latest", "macOS-latest", "windows-latest"]
python-version: ["3.9", "3.10", "3.11"]
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
id: cp
with:
python-version: ${{ matrix.python-version }}
update-environment: true
- name: Pip Install
run: |
'${{ steps.cp.outputs.python-path }}' -m pip install -v -e .[test]
- name: Test run
run: |
'${{ steps.cp.outputs.python-path }}' -m pytest -v --disable-warnings pCrunch
# Debugging session
#- name: Setup tmate session
# if: contains( matrix.os, 'ubuntu')
# uses: mxschmitt/action-tmate@v3
- name: Test examples
run: |
cd examples
treon -v example.ipynb