new example: create optdistortion from camera checkerboard calibration images #423
Workflow file for this run
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: 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 |