-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from mendix/test/enable-e2e-test
Enable automated e2e test
- Loading branch information
Showing
17 changed files
with
23,830 additions
and
6,826 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,35 @@ | ||
name: Run automated end-to-end tests | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
test: | ||
name: "Automated tests" | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: "Checking-out code" | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- name: "Defining cache" | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: cache-node-modules | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | ||
- name: "Defining node version" | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '12' | ||
- name: "Installing dependencies" | ||
run: npm install | ||
- name: "Building package in production mode" | ||
run: npm run build | ||
- name: "Executing E2E tests" | ||
run: npm run test:e2e -- ${{ steps.variables.outputs.arg }} |
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,4 @@ | ||
[submodule "tests/testProject"] | ||
path = tests/testProject | ||
url = https://github.com/mendix/testProjects.git | ||
branch = list-view-controls |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.