Skip to content

ImageSource 添加 get_url 方法 (#30) #84

ImageSource 添加 get_url 方法 (#30)

ImageSource 添加 get_url 方法 (#30) #84

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.9", "3.10", "3.11", "3.12"]
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