-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f3ce53f
commit 0e9d230
Showing
6 changed files
with
188 additions
and
92 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 |
---|---|---|
@@ -0,0 +1,75 @@ | ||
name: functional-tests | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
linux: | ||
runs-on: ubuntu-latest | ||
env: | ||
TAGS: js | ||
GAUGE_TELEMETRY_ENABLED: false | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v1 | ||
|
||
- name: Init submodule | ||
run: | | ||
git submodule init | ||
- name: Update submodule | ||
run: | | ||
git submodule update | ||
- name: install | ||
run: | | ||
npm install | ||
- name: Install gauge | ||
run: | | ||
mkdir ${HOME}/bin | ||
curl https://raw.githubusercontent.com/getgauge/gauge/master/build/download.sh > install.sh | ||
sh install.sh --location=${HOME}/bin | ||
echo ::add-path::${HOME}/bin | ||
- name: Install gauge-js | ||
run: | | ||
npm run installPlugin | ||
- name: Run FTs | ||
run: | | ||
git clone https://github.com/getgauge/gauge-tests | ||
cd gauge-tests | ||
gauge install | ||
./gradlew clean jsFT | ||
windows: | ||
runs-on: windows-latest | ||
env: | ||
TAGS: js | ||
GAUGE_TELEMETRY_ENABLED: false | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v1 | ||
|
||
- name: Init submodule | ||
run: | | ||
git submodule init | ||
- name: Update submodule | ||
run: | | ||
git submodule update | ||
- name: install | ||
run: | | ||
npm install | ||
- name: Install gauge | ||
run: | | ||
choco install gauge | ||
- name: Install gauge-js | ||
run: | | ||
set PATH="C:\\Program Files\\gauge\\bin";%PATH% | ||
npm run installPlugin | ||
- name: Run FTs | ||
run: | | ||
set PATH="C:\\Program Files\\gauge\\bin";%PATH% | ||
git clone https://github.com/getgauge/gauge-tests | ||
cd gauge-tests | ||
gauge install | ||
gradlew.bat clean jsFT |
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 |
---|---|---|
@@ -0,0 +1,77 @@ | ||
name: lsp-tests | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
linux: | ||
runs-on: ubuntu-latest | ||
env: | ||
TAGS: js | ||
GAUGE_TELEMETRY_ENABLED: false | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v1 | ||
|
||
- name: Init submodule | ||
run: | | ||
git submodule init | ||
- name: Update submodule | ||
run: | | ||
git submodule update | ||
- name: install | ||
run: | | ||
npm install | ||
- name: Install gauge stable | ||
run: | | ||
mkdir ${HOME}/bin | ||
curl https://raw.githubusercontent.com/getgauge/gauge/master/build/download.sh > install.sh | ||
sh install.sh --location=${HOME}/bin | ||
echo ::add-path::${HOME}/bin | ||
- name: Install gauge-js | ||
run: | | ||
npm run installPlugin | ||
- name: Run lsp tests | ||
run: | | ||
git clone https://github.com/getgauge/gauge-lsp-tests | ||
cd gauge-lsp-tests | ||
npm install | ||
gauge install | ||
gauge run --tags='!knownIssue & (actions_on_project_load | actions_on_file_edit)' --env=js-wd | ||
windows: | ||
runs-on: windows-latest | ||
env: | ||
TAGS: js | ||
GAUGE_TELEMETRY_ENABLED: false | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v1 | ||
|
||
- name: Init submodule | ||
run: | | ||
git submodule init | ||
- name: Update submodule | ||
run: | | ||
git submodule update | ||
- name: install | ||
run: | | ||
npm install | ||
- name: Install gauge | ||
run: | | ||
choco install gauge | ||
- name: Install gauge-js | ||
run: | | ||
set PATH="C:\\Program Files\\gauge\\bin";%PATH% | ||
npm run installPlugin | ||
- name: Run lsp tests | ||
run: | | ||
set PATH="C:\\Program Files\\gauge\\bin";%PATH% | ||
git clone https://github.com/getgauge/gauge-lsp-tests | ||
cd gauge-lsp-tests | ||
npm install | ||
gauge install | ||
gauge run --tags='!knownIssue & (actions_on_project_load | actions_on_file_edit)' --env=js-wd |
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: tests | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
name: Node ${{ matrix.node_version }} ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
node_version: [10, 12] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
version: ${{ matrix.node_version }} | ||
|
||
- name: Init submodule | ||
run: | | ||
git submodule init | ||
- name: Update submodule | ||
run: | | ||
git submodule update | ||
- name: install | ||
run: | | ||
npm install | ||
- name: unit-tests | ||
run: | | ||
npm test |
This file was deleted.
Oops, something went wrong.
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.