-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove git-branch and git-commit from coveralls
- Loading branch information
1 parent
d194753
commit e1746ac
Showing
2 changed files
with
23 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,20 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
if: github.event.workflow_run.conclusion == 'success' | ||
steps: | ||
- name: Set initial status for tests | ||
uses: LouisBrunner/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
name: test | ||
sha: ${{ github.event.workflow_run.head_sha }} | ||
status: in_progress | ||
- name: Set initial status for tests | ||
uses: LouisBrunner/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
name: coverage/coveralls | ||
sha: ${{ github.event.workflow_run.head_sha }} | ||
status: in_progress | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Install pnpm | ||
|
@@ -25,13 +39,13 @@ jobs: | |
node-version: 20 | ||
cache: 'pnpm' | ||
- name: Install | ||
run: pnpm install | ||
run: pnpm install --ignore-scripts | ||
- name: Download bundle from artifact | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: pr-bundle | ||
run-id: ${{ github.event.workflow_run.id }} | ||
path: ${{ github.workspace }}/.hass/config/www/ | ||
path: ${{ github.workspace }} | ||
github-token: ${{ github.token }} | ||
- name: E2E tests | ||
id: tests | ||
|
@@ -45,9 +59,9 @@ jobs: | |
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
git-branch: ${{ github.event.workflow_run.head_branch }} | ||
git-commit: ${{ github.event.workflow_run.head_sha }} | ||
debug: true | ||
#git-branch: ${{ github.event.workflow_run.head_branch }} | ||
#git-commit: ${{ github.event.workflow_run.head_sha }} | ||
#debug: true | ||
- uses: actions/upload-artifact@v3 | ||
if: always() | ||
with: | ||
|
@@ -58,9 +72,11 @@ jobs: | |
retention-days: 30 | ||
- name: Set final status for tests | ||
uses: LouisBrunner/[email protected] | ||
if: always() | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
name: test | ||
check_id: test | ||
sha: ${{ github.event.workflow_run.head_sha }} | ||
status: completed | ||
conclusion: ${{ job.status }} |