Skip to content

perfer obtained user_id #26

perfer obtained user_id

perfer obtained user_id #26

Workflow file for this run

name: Code Coverage
on:
push:
branches:
- "main"
pull_request:
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false
env:
OS: ${{ matrix.os }}
PYTHON_VERSION: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: ./.github/actions/setup-python
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: poetry install --with adapters
- name: Run tests
run: poetry run pytest --cov-report xml --cov=./nonebot_plugin_userinfo
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
env_vars: OS,PYTHON_VERSION