Bump actions/download-artifact from 7.0.0 to 8.0.1 #6
Workflow file for this run
This file contains hidden or 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: Test | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.12", "3.14"] | |
| steps: | |
| - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 | |
| - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: pip | |
| - run: python -m pip install -r requirements_test.txt | |
| - run: python -m pip install -e . | |
| - run: python -m pytest | |
| quality: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 | |
| - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 | |
| with: | |
| python-version: "3.14" | |
| cache: pip | |
| - run: python -m pip install -r requirements_test.txt | |
| - run: python -m ruff check . | |
| - run: python -m ruff format --check . | |
| - run: python -m build | |
| - run: python -m twine check dist/* | |
| - run: python scripts/check_dist.py dist | |
| - name: Install and import the built wheel in a clean environment | |
| run: | | |
| python -m venv "$RUNNER_TEMP/sharesight-wheel-smoke" | |
| "$RUNNER_TEMP/sharesight-wheel-smoke/bin/python" -m pip install dist/*.whl | |
| cd "$RUNNER_TEMP" | |
| "$RUNNER_TEMP/sharesight-wheel-smoke/bin/python" -c "import SharesightAPI; from importlib.metadata import version; assert SharesightAPI.__version__ == version('SharesightAPI')" |