Skip to content

ci: Disable running integration tests #361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Nov 3, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,30 @@ jobs:

strategy:
matrix:
node-version: [8.x, 10.x, 12.x]
# mochajs 10.x.x uses min node 14
node-version: [14.x, 16.x, 18.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test
env:
CI: true
- run: npm run test-integration
env:
TKTRANSPORT: 'ssh'
TKHOST: ${{ secrets.IBMI_HOSTNAME }}
TKUSER: ${{ secrets.IBMI_USERNAME }}
TKPASS: ${{ secrets.IBMI_PASSWORD }}
# - run: npm run test-integration
# env:
# TKTRANSPORT: 'ssh'
# TKHOST: ${{ secrets.IBMI_HOSTNAME }}
# TKUSER: ${{ secrets.IBMI_USERNAME }}
# TKPASS: ${{ secrets.IBMI_PASSWORD }}

eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: npm ci
- run: npm run lint