FIX: {end_ang} and {radi} not seen as variables #83
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: Python Tests | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Checks unittest | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v3 | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@v41 | |
with: | |
files: "**/*.py" | |
- name: Set up Python all python version | |
if: steps.chaged-files.output.any_changed == 'true' | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
if: steps.chaged-files.output.any_changed == 'true' | |
run: sudo apt-get install libgirepository1.0-dev | |
- run: pip install --upgrade pip | |
if: steps.chaged-files.output.any_changed == 'true' | |
- run: pip install . | |
if: steps.chaged-files.output.any_changed == 'true' | |
- name: Run Test | |
if: steps.chaged-files.output.any_changed == 'true' | |
run: python -m unittest |