Skip to content

Commit 2d5d64e

Browse files
ci: new job for integration tests
1 parent 717ed2c commit 2d5d64e

File tree

2 files changed

+27
-2
lines changed

2 files changed

+27
-2
lines changed

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Integration Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
job:
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
matrix:
16+
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
17+
node: ['10', '12', '14']
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: Setup node
21+
uses: actions/setup-node@v1
22+
with:
23+
node-version: ${{ matrix.node }}
24+
- name: Install packages
25+
run: yarn --no-progress --non-interactive --no-lockfile
26+
- name: Run integration tests
27+
run: yarn test:integration

test/integration/index.test.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ describe('create-react-app', () => {
6464
it('uses npm as the package manager', async () => {
6565
await run([projectName, '--use-npm'], {
6666
cwd: __dirname,
67-
stdio: 'inherit',
6867
});
6968

7069
// Assert for the generated files
@@ -81,7 +80,6 @@ describe('create-react-app', () => {
8180
it('creates a project in the current based on the typescript template', async () => {
8281
await run([projectName, '--template', 'typescript'], {
8382
cwd: __dirname,
84-
stdio: 'inherit',
8583
});
8684

8785
// Assert for the generated files

0 commit comments

Comments
 (0)