Skip to content

Commit

Permalink
Merge pull request #66
Browse files Browse the repository at this point in the history
Align config with other repos
  • Loading branch information
Bilbottom authored Apr 3, 2024
2 parents 1544ff5 + 647bd8e commit 0d9cf2e
Show file tree
Hide file tree
Showing 5 changed files with 236 additions and 246 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Application Tests
run-name: Application tests 🧪
---
name: Tests
run-name: Tests 🧪

on:
workflow_dispatch:
Expand Down
8 changes: 2 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
ci:
skip: [poetry-lock, sourcery, pylint, pytest, coverage-badge]
autoupdate_schedule: quarterly

default_install_hook_types: [pre-commit, post-commit]
default_stages: [commit]
skip: [poetry-lock, sourcery, pylint, pytest, coverage-badge]

repos:
- repo: meta
Expand Down Expand Up @@ -101,7 +98,7 @@ repos:
hooks:
- id: pytest
name: Run unit tests
entry: pytest tests
entry: pytest tests --quiet
language: system
pass_filenames: false
always_run: true
Expand All @@ -110,5 +107,4 @@ repos:
entry: coverage-badge -o coverage.svg -f
language: system
pass_filenames: false
stages: [post-commit]
always_run: true
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div align="center">

[![Python 3.7+](https://img.shields.io/badge/python-3.7+-blue.svg)](https://www.python.org/downloads/release/python-370/)
[![Python](https://img.shields.io/badge/Python-3.7+-blue.svg)](https://www.python.org/downloads/release/python-370/)
[![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/)
[![application-tests](https://github.com/Bilbottom/db-query-profiler/actions/workflows/application-tests.yaml/badge.svg)](https://github.com/Bilbottom/db-query-profiler/actions/workflows/application-tests.yaml)
[![tests](https://github.com/Bilbottom/db-query-profiler/actions/workflows/tests.yaml/badge.svg)](https://github.com/Bilbottom/db-query-profiler/actions/workflows/tests.yaml)
[![coverage](https://raw.githubusercontent.com/Bilbottom/db-query-profiler/main/coverage.svg)](https://github.com/dbrgn/coverage-badge)
![GitHub last commit](https://img.shields.io/github/last-commit/Bilbottom/db-query-profiler)

Expand All @@ -22,7 +22,9 @@ Lightweight database query profiler.

This tool is database-agnostic -- just provide a class that connects to your database with an `execute` method, and the queries that you want to profile.

**_This is NOT a replacement for analysing the [query plan](https://en.wikipedia.org/wiki/Query_plan). This should just support the analysis done with it._**
> [!WARNING]
>
> **_This is NOT a replacement for analysing the [query plan](https://en.wikipedia.org/wiki/Query_plan). This should just support the analysis done with it._**
## Installation ⬇️

Expand Down
Loading

0 comments on commit 0d9cf2e

Please sign in to comment.