Skip to content

Fix installation failures #1286

Fix installation failures

Fix installation failures #1286

name: Test functionality
# Run workflow on each of
# - pull requests to main
# - pushes to main
# - a weekly schedule
on:
pull_request:
branches: [main]
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