🚨 Add 10 minute timeout to download #1283
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: Test functionality | |
# Run workflow on pushes to matching branches | |
# and on a regular schedule | |
on: | |
push: | |
branches: [main] | |
schedule: | |
- cron: "0 2 * * 0" # run at 2am on Sundays | |
jobs: | |
test-functionality: | |
name: Test functionality | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["macos-latest", "ubuntu-latest"] | |
python: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install poetry | |
run: pip install poetry | |
- name: Install shui dependencies | |
run: poetry install | |
- name: Test 'versions' command | |
run: | | |
poetry run shui versions | |
- name: Test 'install' command | |
run: | | |
poetry run shui install --latest |