-
-
Notifications
You must be signed in to change notification settings - Fork 430
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
run comparison tests in consistent location on Windows (#1277)
* run comparison tests in consistent location * update status badge * delete old examples * Update README.md
- Loading branch information
1 parent
a1b19a1
commit 0d6c803
Showing
59 changed files
with
50 additions
and
18,195 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
name: Continuous Integration (build and test) | ||
name: build and test | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
comparison_test: | ||
name: Ubuntu Comparison Tests | ||
comparison_test_ubuntu: | ||
name: Comparison Tests Ubuntu | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 25 | ||
steps: | ||
|
@@ -16,14 +16,11 @@ jobs: | |
- name: build | ||
run: yarn build | ||
|
||
- name: install typescript | ||
run: yarn add [email protected] | ||
|
||
- name: test | ||
run: sudo yarn comparison-tests | ||
|
||
windows: | ||
name: Windows Comparison Tests | ||
comparison_test_windows: | ||
name: Comparison Tests Windows | ||
runs-on: windows-latest | ||
timeout-minutes: 25 | ||
steps: | ||
|
@@ -43,22 +40,17 @@ jobs: | |
run: yarn build | ||
working-directory: C:\source\ts-loader | ||
|
||
- name: install typescript | ||
run: yarn add [email protected] | ||
working-directory: C:\source\ts-loader | ||
|
||
- name: test | ||
run: yarn comparison-tests | ||
working-directory: C:\source\ts-loader | ||
|
||
execution_test: | ||
name: Execution Tests | ||
execution_test_ubuntu: | ||
name: Execution Tests Ubuntu | ||
strategy: | ||
matrix: | ||
os: [ubuntu, windows] | ||
node: [10, 12, 14] | ||
ts: [3.8.3, 3.9.3, 4.0.3, 4.1.2, next] | ||
runs-on: ${{ matrix.os }}-latest | ||
node: [12, 14] | ||
ts: [3.8.3, 3.9.3, 4.0.3, 4.1.5, next] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
|
@@ -79,6 +71,43 @@ jobs: | |
- name: test | ||
run: yarn execution-tests | ||
|
||
execution_test_windows: | ||
name: Execution Tests Windows | ||
strategy: | ||
matrix: | ||
node: [12, 14] | ||
ts: [3.8.3, 3.9.3, 4.0.3, 4.1.5, next] | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: install node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- name: copy files | ||
shell: pwsh | ||
run: | | ||
New-Item C:\source\ts-loader -ItemType Directory | ||
Copy-Item .\* C:\source\ts-loader -Recurse -Force | ||
- name: install | ||
run: yarn install | ||
working-directory: C:\source\ts-loader | ||
|
||
- name: build | ||
run: yarn build | ||
working-directory: C:\source\ts-loader | ||
|
||
- name: install typescript | ||
run: yarn add typescript@${{ matrix.ts }} | ||
working-directory: C:\source\ts-loader | ||
|
||
- name: test | ||
run: yarn execution-tests | ||
working-directory: C:\source\ts-loader | ||
|
||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
|
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.