Skip to content

refactor, folder upload, credential management, enhanced fetch (#1) #7

refactor, folder upload, credential management, enhanced fetch (#1)

refactor, folder upload, credential management, enhanced fetch (#1) #7

Workflow file for this run

name: test
on:
push:
branches: [master]
paths:
- "**/*.py"
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12", "3.13", "3.14"]
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 setuptools wheel
python -m pip install -e ".[dev]"
- name: Run tests with coverage
env:
TEST_COOKIE_115CLI: ${{ matrix.python-version == '3.14' && secrets.TEST_COOKIE || '' }}
run: |
python -m coverage run -m pytest -v
python -m coverage xml
- name: Upload coverage to Codecov
if: matrix.python-version == '3.14'
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}