Skip to content

Commit

Permalink
ci: new job for integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgeorge007 committed Jan 15, 2021
1 parent 717ed2c commit 2d5d64e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Integration Tests

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
job:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
node: ['10', '12', '14']
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Install packages
run: yarn --no-progress --non-interactive --no-lockfile
- name: Run integration tests
run: yarn test:integration
2 changes: 0 additions & 2 deletions test/integration/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ describe('create-react-app', () => {
it('uses npm as the package manager', async () => {
await run([projectName, '--use-npm'], {
cwd: __dirname,
stdio: 'inherit',
});

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

// Assert for the generated files
Expand Down

0 comments on commit 2d5d64e

Please sign in to comment.