Skip to content

Commit

Permalink
Added gui tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed Nov 7, 2024
1 parent 63994af commit 46ed5a7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,22 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: ioBroker/testing-action-adapter@v1
- name: Tests
uses: ioBroker/testing-action-adapter@v1
with:
node-version: ${{ matrix.node-version }}
os: ${{ matrix.os }}
extra-tests: npm run test:gui
# Uncomment the following line if your adapter cannot be installed using 'npm ci'
# install-command: 'npm install'
- name: Archive screenshots
if: always()
# if: failure()
uses: actions/upload-artifact@v4
with:
path: tmp/screenshots/**/*.png
retention-days: 3
name: artifacts-${{ matrix.os }}-${{ matrix.node-version }}

# TODO: To enable automatic npm releases, create a token on npmjs.org
# Enter this token as a GitHub secret (with name NPM_TOKEN) in the repository options
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ admin/i18n/flat.txt
admin/i18n/*/flat.txt
src-admin/package-lock.json
src-admin/node_modules
src-admin/build
src-admin/build
*.tgz
/tmp/

0 comments on commit 46ed5a7

Please sign in to comment.