diff options
author | laixintao <laixintaoo@gmail.com> | 2023-10-08 08:56:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-07 17:56:08 -0700 |
commit | f157f3f72ee388970861c31557ba624663d1a2c1 (patch) | |
tree | 302d2444cfb76967fa2836f74eae6b4a00167623 | |
parent | a8e34be151c8ae1af9672fea5141434113572633 (diff) |
runs test on main branch as well. (#1429)
* runs test on main branch as well.
reasons:
- tests passed on PR branches do not mean they will pass on main branch,
for e.g. alice changed A in branch-a, bob changed B in branch-b, both
tests passed and no conflict, but after merged to main, a bug occurs.
- wanna fix the badge in main branch ;D
* change the badge status to main branch only.
-rw-r--r-- | .github/workflows/ci.yml | 3 | ||||
-rw-r--r-- | README.rst | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be99c1ad..8ac19111 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,9 @@ name: pgcli on: + push: + branches: + - main pull_request: paths-ignore: - '**.rst' @@ -373,8 +373,8 @@ interface to Postgres database. Thanks to all the beta testers and contributors for your time and patience. :) -.. |Build Status| image:: https://github.com/dbcli/pgcli/workflows/pgcli/badge.svg - :target: https://github.com/dbcli/pgcli/actions?query=workflow%3Apgcli +.. |Build Status| image:: https://github.com/dbcli/pgcli/actions/workflows/ci.yml/badge.svg?branch=main + :target: https://github.com/dbcli/pgcli/actions/workflows/ci.yml .. |CodeCov| image:: https://codecov.io/gh/dbcli/pgcli/branch/master/graph/badge.svg :target: https://codecov.io/gh/dbcli/pgcli |