Skip to content

patch: remove nat values from plotter (#20) #37

patch: remove nat values from plotter (#20)

patch: remove nat values from plotter (#20) #37

Workflow file for this run

name: build & validate
on:
push:
branches:
- main
paths:
- '**.py'
- pyproject.toml
pull_request:
paths:
- '**.yml'
- '**.py'
- pyproject.toml
jobs:
ruff-linter:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install Hatch
run: pip install hatch
- name: Install dependencies
run: hatch env create dev
- name: Run ruff lint
run: hatch run dev:lint
check-python-compatibility:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Hatch
run: pip install hatch
- name: Install dependencies
run: hatch env create dev
- name: Build wheel with Hatch
run: hatch build
- name: Install built wheel
run: pip install dist/*.whl
- name: Test import
run: python -c "import Visualizer"
run-acceptance-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install Hatch
run: pip install hatch
- name: Install dependencies
run: hatch env create dev
- name: Build wheel with Hatch
run: hatch build
- name: Run robot framework acceptance-tests
run: hatch run dev:atest
# run-unit-tests:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
# - name: Set up Python
# uses: actions/setup-python@v5
# with:
# python-version: '3.12'
# - name: Install Hatch
# run: pip install hatch
# - name: Install dependencies
# run: hatch env create dev
# - name: Build wheel with Hatch
# run: hatch build
# - name: Run unit tests with pytest
# run: hatch run dev:utest