Skip to content

Added sphinx-design package install to docs workflow #5

Added sphinx-design package install to docs workflow

Added sphinx-design package install to docs workflow #5

Workflow file for this run

name: Test
on:
pull_request:
branches:
- "**"
jobs:
test-python:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.12
- name: Install Poetry
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Install dependencies
run: poetry install
- name: Run tests
run: |
poetry run pytest --junitxml=junit.xml || {
if [ $? -eq 5 ]; then
echo 'Did not find any tests to run.';
else
exit 1;
fi
}
- name: Store test results
if: success() || failure()
uses: actions/upload-artifact@v3
with:
name: junit-results
path: junit.xml