Skip to content

chore(deps): bump nonebot2 from 2.3.0 to 2.3.1 in the production-dependencies group #495

chore(deps): bump nonebot2 from 2.3.0 to 2.3.1 in the production-dependencies group

chore(deps): bump nonebot2 from 2.3.0 to 2.3.1 in the production-dependencies group #495

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:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: he0119/setup-python@main
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: poetry install -E all
- name: Run tests
run: poetry run pytest -n auto --cov=nonebot_plugin_datastore --cov-report xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
env_vars: OS,PYTHON_VERSION
check:
if: always()
needs: test
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe
with:
jobs: ${{ toJSON(needs) }}