Skip to content

DO NOT MERGE just see if this works #122

DO NOT MERGE just see if this works

DO NOT MERGE just see if this works #122

Workflow file for this run

name: Updated Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Allow this workflow to be called from other repositories.
workflow_call:
# This workflow needs Poetry, so no flag is included.
jobs:
run-tests:
name: ${{ matrix.os }}, ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.10', '3.13']
steps:
- uses: actions/checkout@v5
- name: Install poetry
shell: bash
run: pipx install poetry==2.1.4
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
shell: bash
run: |
poetry lock
poetry install --with test --all-extras
poetry add git+https://github.com/AstarVienna/ScopeSim_Data.git
poetry env use "$(python -c 'import sys; print(sys.executable)')"
- name: Check Python version
run: poetry run python -V >> "$GITHUB_STEP_SUMMARY"
- name: Update dependencies
shell: bash
run: poetry update | tee -a $GITHUB_STEP_SUMMARY
- name: Run Pytest
shell: bash
run: poetry run pytest -m "not webtest" --cov --cov-report=xml