Skip to content

new example: create optdistortion from camera checkerboard calibration images #426

new example: create optdistortion from camera checkerboard calibration images

new example: create optdistortion from camera checkerboard calibration images #426

Workflow file for this run

name: ci
on:
pull_request:
branches:
- main
paths:
- ansys_optical_automation/**
- tests/**
- .github/**
jobs:
simulation-data-test:
runs-on: self-hosted
steps:
- run: echo $(hostname)
- name: Check out repository code
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.9.12
- name: Install dependencies
run: |
python -m ensurepip
python -m venv venv
venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
python -m pip install .[test]
- name: Unittests
run: |
venv\Scripts\Activate.ps1
pytest --tb=no tests