Skip to content

fix: failed to init UserInfo_TUid without params #480

fix: failed to init UserInfo_TUid without params

fix: failed to init UserInfo_TUid without params #480

Workflow file for this run

name: CI
on:
schedule:
- cron: "42 6 * * *"
push:
branches: [develop]
paths:
- "aiotieba/**"
- "thirdparty/**"
- "tests/**"
- ".github/workflows/CI*"
pull_request:
branches: [develop]
paths:
- "aiotieba/**"
- "thirdparty/**"
- "tests/**"
- ".github/workflows/CI*"
jobs:
test:
name: Test
runs-on: ubuntu-latest
environment: develop
strategy:
matrix:
python-version: ["3.8", "3.11"]
steps:
- name: Checkout develop
uses: actions/checkout@v3
with:
ref: develop
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
cache-dependency-path: "tests/requirements.txt"
- name: Install dependencies
run: |
python -m pip install -U pip -qq
pip install -r tests/requirements.txt -qq
- name: Prepare config
run: gpg --quiet --batch --yes --decrypt --passphrase=${{ secrets.PASSPHRASE }} --output aiotieba.toml tests/aiotieba.toml.gpg
- name: Run tests
run: pytest tests