Skip to content

Simvue Client (Python Versions) #198

Simvue Client (Python Versions)

Simvue Client (Python Versions) #198

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Simvue Client (Python Versions)
on:
workflow_dispatch:
schedule:
- cron: '30 1 * * *'
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 40
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 dependencies
run: python -m pip install poetry
- name: Test with pytest
run: |
export SIMVUE_URL=${{ secrets.SIMVUE_NIGHTLY_URL }}
export SIMVUE_TOKEN=${{ secrets.SIMVUE_NIGHTLY_TOKEN }}
poetry install --all-extras
poetry run pytest tests/ -m 'not scenario'