WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

πŸ”§ Restructure plugin architecture and improve test coverage #3

πŸ”§ Restructure plugin architecture and improve test coverage

πŸ”§ Restructure plugin architecture and improve test coverage #3

Workflow file for this run

---
name: πŸ§ͺ Test
on:
push:
branches:
- main
paths:
- .github/workflows/*
- src/**
- test/**
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
lint:
name: 🧹 Lint
runs-on: ubuntu-latest
if: github.actor != 'renovate[bot]'
steps:
- name: πŸ“₯ Checkout repository
uses: actions/checkout@v5
- uses: pre-commit/[email protected]
tests:
name: πŸ§ͺ Tests
runs-on: ubuntu-latest
needs: lint
steps:
- name: πŸ“₯ Checkout repository
uses: actions/checkout@v5
- name: 🐍 Setup Python
uses: actions/setup-python@v6
with:
python-version: 3.11
- name: πŸ§ͺ Run tests with coverage
run: |
python -m pip install -e .[dev]
coverage run -m pytest --exitfirst
coverage report --show-missing