0.37.16: #103
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: Alist SDK - Test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 3 | |
matrix: | |
python-version: [ '3.10', '3.11', '3.12' ] | |
alist-version: [ '3.36.0', '3.37.1', '3.37.2' ] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e . | |
pip install -r requirements-dev.txt | |
- name: Install AList | |
run: bash -ex tests/init_alist.sh | |
env: | |
ALIST_VERSION: ${{ matrix.alist-version }} | |
- name: Run Tests | |
run: | | |
python -m pytest --log-level=INFO |