generated from phundrak/rust-poem-openapi-template
test ci
This commit is contained in:
parent
4c7d82a482
commit
5b1c02e3d2
@ -6,8 +6,8 @@ env:
|
||||
DATABASE_URL: ${{ vars.DATABASE_URL }}
|
||||
|
||||
concurrency:
|
||||
group: ${{ gitea.workflow }}-${{ gitea.ref }}
|
||||
cancel-in-progress: ${{ gitea.ref != 'ref/heads/master' }}
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: ${{ github.ref != 'ref/heads/master' }}
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
@ -29,8 +29,6 @@ jobs:
|
||||
--health-interval 10s
|
||||
--health-timeout 10s
|
||||
--health-retries 5
|
||||
ports:
|
||||
- 5432:5432
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Nix
|
||||
@ -65,7 +63,7 @@ jobs:
|
||||
thresholds: '60 80'
|
||||
- name: Add Coverage PR Comment
|
||||
uses: mshick/add-pr-comment@v2
|
||||
if: gitea.event_name == 'pull_request'
|
||||
if: github.event_name == 'pull_request'
|
||||
with:
|
||||
recreate: true
|
||||
message-path: code-coverage-results.md
|
||||
|
Loading…
Reference in New Issue
Block a user