Fix minor bug in keys for optim_ui.data dict #28
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
# Workflow to run tests on push to develop. Runs tests on python 3.9/3.10/3.11/3.12 and linux/windows/mac-os | |
name: run-tests | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test-build: | |
name: test-build | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install --upgrade setuptools | |
python --version | |
- name: Build LiquidDiffract | |
run: | | |
# Install LiquidDiffract in development mode | |
echo "Installing LiquidDiffract in development mode ..." | |
python -m pip install -e . | |
echo "" | |
- name: Run tests | |
run: | | |
python -m unittest discover -v -s ./tests |