chore: bump version to 3.7.3a1 #677
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: 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 |