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 }}
|
DATABASE_URL: ${{ vars.DATABASE_URL }}
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ gitea.workflow }}-${{ gitea.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
cancel-in-progress: ${{ gitea.ref != 'ref/heads/master' }}
|
cancel-in-progress: ${{ github.ref != 'ref/heads/master' }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
@ -29,8 +29,6 @@ jobs:
|
|||||||
--health-interval 10s
|
--health-interval 10s
|
||||||
--health-timeout 10s
|
--health-timeout 10s
|
||||||
--health-retries 5
|
--health-retries 5
|
||||||
ports:
|
|
||||||
- 5432:5432
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
@ -65,7 +63,7 @@ jobs:
|
|||||||
thresholds: '60 80'
|
thresholds: '60 80'
|
||||||
- name: Add Coverage PR Comment
|
- name: Add Coverage PR Comment
|
||||||
uses: mshick/add-pr-comment@v2
|
uses: mshick/add-pr-comment@v2
|
||||||
if: gitea.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
with:
|
with:
|
||||||
recreate: true
|
recreate: true
|
||||||
message-path: code-coverage-results.md
|
message-path: code-coverage-results.md
|
||||||
|
Loading…
Reference in New Issue
Block a user