This repository has been archived by the owner on Dec 10, 2024. It is now read-only.
Normalize FuncDict and FuncSet util collections key and value callabl… #504
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: pytest | |
on: | |
push: | |
jobs: | |
pytest: | |
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() }} |