Skip to content

Commit 0e2b617

Browse files
Fix CI: trigger on all branches, add Tests badge
- Remove branch filter on push so CI runs on all branches, not just main - Add separate Lint and Tests badges to README - Tests badge uses shields.io for proper rendering
1 parent 3871b47 commit 0e2b617

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: CI
22

33
on:
44
push:
5-
branches: [main]
65
pull_request:
76
branches: [main]
87

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# pyBASTION
22

3-
[![CI](https://github.com/danielandresarcones/pybastion/actions/workflows/ci.yml/badge.svg)](https://github.com/danielandresarcones/pybastion/actions/workflows/ci.yml)
3+
[![Lint](https://github.com/danielandresarcones/pybastion/actions/workflows/ci.yml/badge.svg?event=push)](https://github.com/danielandresarcones/pybastion/actions/workflows/ci.yml)
4+
[![Tests](https://img.shields.io/github/actions/workflow/status/danielandresarcones/pybastion/ci.yml?label=tests)](https://github.com/danielandresarcones/pybastion/actions/workflows/ci.yml)
45
[![Python 3.9+](https://img.shields.io/badge/python-3.9%2B-blue.svg)](https://www.python.org/downloads/)
56
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
67
[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/)

0 commit comments

Comments
 (0)