Utils: Move offer_missing_install to libs/installation.py #112
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run pytest | |
on: | |
push: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
#cache: 'poetry' | |
- name: Install dependencies | |
run: | | |
python -m pip install poetry --upgrade pip | |
poetry install --with dev | |
- name: Lint with Ruff | |
run: poetry run ruff check --output-format=github . | |
#continue-on-error: true | |
- name: Run pytest | |
run: poetry run pytest | |
#- name: Upload pytest test results | |
# uses: actions/upload-artifact@v4 | |
# with: | |
# name: pytest-results-${{ matrix.python-version }} | |
# path: junit/test-results-${{ matrix.python-version }}.xml | |
# # Use always() to always run this step to publish test results when there are test failures | |
# if: ${{ always() }} |