-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(runner): change runner groups
- Loading branch information
Showing
4 changed files
with
33 additions
and
26 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
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 |
---|---|---|
|
@@ -15,18 +15,19 @@ defaults: | |
jobs: | ||
tests: | ||
name: Integration and Unit tests | ||
runs-on: ubuntu-latest | ||
runs-on: | ||
group: Default | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
pkg: [pubnub] | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.GH_TOKEN }} | ||
- name: Checkout actions | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: pubnub/client-engineering-deployment-tools | ||
ref: v1 | ||
|
@@ -62,12 +63,13 @@ jobs: | |
uses: ./.github/.release/actions/actions/utils/fast-jobs-failure | ||
acceptance-tests: | ||
name: Acceptance tests | ||
runs-on: ubuntu-latest | ||
runs-on: | ||
group: Default | ||
steps: | ||
- name: Checkout project | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
- name: Checkout mock-server action | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: pubnub/client-engineering-deployment-tools | ||
ref: v1 | ||
|
@@ -80,7 +82,7 @@ jobs: | |
- name: Setup Dart | ||
uses: dart-lang/[email protected] | ||
- name: Cache | ||
uses: actions/cache@v3 | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.pub-cache | ||
key: ${{ runner.os }}-${{ matrix.pkg }}-${{ hashFiles('**/pubspec.yaml') }} | ||
|
@@ -102,8 +104,9 @@ jobs: | |
uses: ./.github/.release/actions/actions/utils/fast-jobs-failure | ||
all-tests: | ||
name: Tests | ||
runs-on: ubuntu-latest | ||
needs: [tests, acceptance-tests] | ||
runs-on: | ||
group: Default | ||
steps: | ||
- name: Tests summary | ||
run: echo -e "\033[38;2;95;215;0m\033[1mAll tests successfully passed" |
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