Skip to content

Commit

Permalink
Relative workflow references (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
TWiStErRob authored Jun 4, 2022
1 parent e31a014 commit 59be983
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:

test-all:
name: 'Tests'
uses: TWiStErRob/net.twisterrob.healthcheck/.github/workflows/tests-run.yml@master
uses: ./.github/workflows/tests-run.yml
with:
name: 'All'
test-task: ':test'
test-pattern: '*'

test-smoke:
name: 'Tests'
uses: TWiStErRob/net.twisterrob.healthcheck/.github/workflows/tests-run.yml@master
uses: ./.github/workflows/tests-run.yml
with:
name: 'Smoke'
test-task: ':smokeTest'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,31 @@ on:
jobs:
test-cinema:
name: 'Tests'
uses: TWiStErRob/net.twisterrob.healthcheck/.github/workflows/tests-run.yml@master
uses: ./.github/workflows/tests-run.yml
with:
name: 'cinema.twisterrob.net'
test-task: ':test'
test-pattern: 'net.twisterrob.web.twisterrob_net.cinema.*'

test-regex:
name: 'Tests'
uses: TWiStErRob/net.twisterrob.healthcheck/.github/workflows/tests-run.yml@master
uses: ./.github/workflows/tests-run.yml
with:
name: 'regex.twisterrob.net'
test-task: ':test'
test-pattern: 'net.twisterrob.web.twisterrob_net.regex.*'

test-web:
name: 'Tests'
uses: TWiStErRob/net.twisterrob.healthcheck/.github/workflows/tests-run.yml@master
uses: ./.github/workflows/tests-run.yml
with:
name: 'www.twisterrob.net'
test-task: ':test'
test-pattern: 'net.twisterrob.web.twisterrob_net.www.*'

test-uw:
name: 'Tests'
uses: TWiStErRob/net.twisterrob.healthcheck/.github/workflows/tests-run.yml@master
uses: ./.github/workflows/tests-run.yml
with:
name: 'twisterrob.uw.hu'
test-task: ':test'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
- name: Checkout ${{ github.ref }} branch in ${{ github.repository }} repository.
uses: actions/checkout@v3

- name: Check Dependencies
- name: List dependency versions.
run: |
./gradlew --version
google-chrome --version
- name: Run ${{ inputs.name }} (${{ inputs.test-pattern }}) Tests
- name: Run ${{ inputs.name }} (${{ inputs.test-pattern }}) Tests.
run: >
./gradlew
--no-daemon
Expand All @@ -53,7 +53,7 @@ jobs:
name: Test ${{ inputs.name }} Results HTML
path: ${{ github.workspace }}/build/reports/tests/*/

- name: Publish ${{ inputs.name }} Test Results
- name: Publish "Results / ${{ inputs.name }}".
if: success() || failure()
uses: EnricoMi/publish-unit-test-result-action@v1
with:
Expand Down

0 comments on commit 59be983

Please sign in to comment.