Skip to content

Accurate python version support information & release to PyPI, works only on python 3.11+ unlike previously claimed #8

Accurate python version support information & release to PyPI, works only on python 3.11+ unlike previously claimed

Accurate python version support information & release to PyPI, works only on python 3.11+ unlike previously claimed #8

Workflow file for this run

name: Unit Tests With TestPyPI
on:
workflow_dispatch:
pull_request:
branches:
- release
jobs:
test:
strategy:
matrix:
include:
# Define specific Python versions for each OS
- os: ubuntu-latest
python-version: 3.11
- os: windows-latest
python-version: 3.11
- os: macos-latest
python-version: 3.11
- os: ubuntu-latest
python-version: 3.12
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r tests/requirements.txt
pip install jsonschema
pip install -i https://test.pypi.org/simple/ hololinked
- name: Run unit tests to verify if the release to TestPyPI is working
run: |
python -m unittest discover -s tests -p 'test_*.py'