Skip to content

Commit 998c3d3

Browse files
committed
Add other tests suites
1 parent 1d6da68 commit 998c3d3

File tree

7 files changed

+141
-128
lines changed

7 files changed

+141
-128
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/workflows/e2e-behavior.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Behavior
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ${{ matrix.os }}
8+
timeout-minutes: 20
9+
strategy:
10+
matrix:
11+
os: [ubuntu-latest, macos-latest, windows-latest]
12+
node: [10, 12]
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: actions/setup-node@v1
16+
with:
17+
node-version: ${{ matrix.node }}
18+
- name: Get yarn cache
19+
id: yarn-cache
20+
run: echo "::set-output name=dir::$(yarn cache dir)"
21+
- name: Cache node modules
22+
uses: actions/cache@v1
23+
with:
24+
path: ${{ steps.yarn-cache.outputs.dir }}
25+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
26+
restore-keys: |
27+
${{ runner.os }}-yarn-
28+
- name: Configure git
29+
run: |
30+
git config --global core.autocrlf false
31+
git config --global user.name "Create React App"
32+
git config --global user.email "cra@example.com"
33+
- name: Install
34+
run: yarn --prefer-offline --frozen-lockfile --no-progress --non-interactive
35+
- name: Test
36+
run: tasks/e2e-behavior.sh

.github/workflows/e2e-installs.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Installs
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
timeout-minutes: 20
9+
strategy:
10+
matrix:
11+
node: [10, 12]
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-node@v1
15+
with:
16+
node-version: ${{ matrix.node }}
17+
- name: Get yarn cache
18+
id: yarn-cache
19+
run: echo "::set-output name=dir::$(yarn cache dir)"
20+
- name: Cache node modules
21+
uses: actions/cache@v1
22+
with:
23+
path: ${{ steps.yarn-cache.outputs.dir }}
24+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
25+
restore-keys: |
26+
${{ runner.os }}-yarn-
27+
- name: Configure git
28+
run: |
29+
git config --global core.autocrlf false
30+
git config --global user.name "Create React App"
31+
git config --global user.email "cra@example.com"
32+
- name: Install
33+
run: yarn --prefer-offline --frozen-lockfile --no-progress --non-interactive
34+
- name: Test
35+
run: tasks/e2e-installs.sh
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Kitchensink Eject
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
timeout-minutes: 20
9+
strategy:
10+
matrix:
11+
node: [10, 12]
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-node@v1
15+
with:
16+
node-version: ${{ matrix.node }}
17+
- name: Get yarn cache
18+
id: yarn-cache
19+
run: echo "::set-output name=dir::$(yarn cache dir)"
20+
- name: Cache node modules
21+
uses: actions/cache@v1
22+
with:
23+
path: ${{ steps.yarn-cache.outputs.dir }}
24+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
25+
restore-keys: |
26+
${{ runner.os }}-yarn-
27+
- name: Configure git
28+
run: |
29+
git config --global core.autocrlf false
30+
git config --global user.name "Create React App"
31+
git config --global user.email "cra@example.com"
32+
- name: Install
33+
run: yarn --prefer-offline --frozen-lockfile --no-progress --non-interactive
34+
- name: Test
35+
run: tasks/e2e-kitchensink-eject.sh
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Kitchensink
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
timeout-minutes: 20
9+
strategy:
10+
matrix:
11+
node: [10, 12]
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-node@v1
15+
with:
16+
node-version: ${{ matrix.node }}
17+
- name: Get yarn cache
18+
id: yarn-cache
19+
run: echo "::set-output name=dir::$(yarn cache dir)"
20+
- name: Cache node modules
21+
uses: actions/cache@v1
22+
with:
23+
path: ${{ steps.yarn-cache.outputs.dir }}
24+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
25+
restore-keys: |
26+
${{ runner.os }}-yarn-
27+
- name: Configure git
28+
run: |
29+
git config --global core.autocrlf false
30+
git config --global user.name "Create React App"
31+
git config --global user.email "cra@example.com"
32+
- name: Install
33+
run: yarn --prefer-offline --frozen-lockfile --no-progress --non-interactive
34+
- name: Test
35+
run: tasks/e2e-kitchensink.sh

azure-pipelines-test-job.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

azure-pipelines.yml

Lines changed: 0 additions & 77 deletions
This file was deleted.

0 commit comments

Comments
 (0)