Skip to content

Bump actions/upload-artifact from 4 to 6 #121

Bump actions/upload-artifact from 4 to 6

Bump actions/upload-artifact from 4 to 6 #121

name: Test Docstrings
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 need Poetry, so no flag is included.
jobs:
test-docstrings:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install poetry
shell: bash
run: pipx install poetry==2.1.4
- name: Set up Python
uses: actions/setup-python@v6
- name: Install dependencies
shell: bash
run: |
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: Run Pytest
shell: bash
run: poetry run pytest -m "not webtest and not slow" --doctest-modules --cov --cov-report=xml