Skip to content

Commit fa1c0d3

Browse files
ci: new job for integration tests
1 parent 2c35868 commit fa1c0d3

File tree

2 files changed

+27
-2
lines changed

2 files changed

+27
-2
lines changed

.github/workflows/test.yml

+27
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

-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ describe('create-react-app', () => {
6868
it('uses npm as the package manager', async () => {
6969
await run([projectName, '--use-npm'], {
7070
cwd: __dirname,
71-
stdio: 'inherit',
7271
});
7372

7473
// Assert for the generated files
@@ -83,7 +82,6 @@ describe('create-react-app', () => {
8382
it('creates a project in the current based on the typescript template', async () => {
8483
await run([projectName, '--template', 'typescript'], {
8584
cwd: __dirname,
86-
stdio: 'inherit',
8785
});
8886

8987
// Assert for the generated files

0 commit comments

Comments
 (0)