Skip to content

Commit

Permalink
e2e tests config
Browse files Browse the repository at this point in the history
  • Loading branch information
dbale-altoros committed Oct 24, 2023
1 parent 9971cca commit dae1e37
Show file tree
Hide file tree
Showing 19 changed files with 132 additions and 156 deletions.
74 changes: 8 additions & 66 deletions .github/workflows/E2E.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,15 @@ jobs:
name: Test on Linux with Node ${{ matrix.node }}
strategy:
matrix:
node: [16, 18, 20]
node: [20]

services:
myservice:
image: ubuntu-latest
ports:
- 22/tcp
options: --name myservice-container

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -42,68 +49,3 @@ jobs:

- name: Run E2E Tests
run: cd e2e && npm install && npm test

e2e_windows:
runs-on: windows-latest
name: Test on Windows

steps:
- name: Enable Debugging
run: |
echo "::debug::Debugging enabled"
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18

- name: Install dependencies
run: npm install --include=dev

- name: Run linter
run: npm run lint

- name: Generate Docs
run: npm run docs

- name: Pack
run: npm pack

- name: Global Installation
run: npm i -g @(Get-ChildItem -Filter *.tgz)

- name: Check solhint version
run: solhint --version

- name: List directory contents
run: dir

- name: Run linter
run: npm run lint

- name: Run E2E Tests
run: cd e2e && npm install && npm test

e2e_macos:
runs-on: macos-latest
name: Test on MacOS

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18

- name: Install dependencies
run: npm install --include=dev

- name: Pack
run: npm pack

- name: Install solhint
run: npm i -g solhint*tgz

- name: Run linter
run: npm run lint

- name: Run Tests
run: cd e2e && npm install && npm test
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit dae1e37

Please sign in to comment.