Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kb-kerem committed Apr 17, 2024
1 parent 3299000 commit 3e922c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/java-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,15 @@ jobs:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
- name: Build and push to local registry
uses: docker/build-push-action@v5
with:
context: '{{defaultContext}}:visual-java'
tags: saucelabs/visual-java
file: Dockerfile
load: true
- run: |
- name: Run the tests
run: |
npm ci
npm run test
working-directory: tests
Expand Down
2 changes: 1 addition & 1 deletion tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"typescript": "^5.2.2"
},
"scripts": {
"test-env-vars": "jest --runInBand env-vars.spec.ts --container-image=saucelabs/visual-java"
"test": "jest --runInBand"
},
"dependencies": {
"@saucelabs/visual": "^0.3.352"
Expand Down

0 comments on commit 3e922c4

Please sign in to comment.