Skip to content

Support derived compound units with scale conversion #8

Support derived compound units with scale conversion

Support derived compound units with scale conversion #8

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main", "dev" ]
schedule:
- cron: "14 3 * * 1"
jobs:
test:
name: Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.12"]
steps:
- uses: actions/checkout@v7
- name: Set up python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Python info
run: python --version
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip install -e .[test]
- name: Test with pytest
run: pytest --durations=0
env:
SYSIDE_LICENSE_KEY: ${{ secrets.SYSIDE_LICENSE_KEY }}