Skip to content

Commit

Permalink
if always condition
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbysunil14 committed Dec 23, 2024
1 parent ef62e2e commit 16802de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run-regression-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ jobs:

# Archive screenshots
- name: Archive screenshots
if: runner.os == 'linux' && matrix.targetVSCode == 'latest'
if: always() && runner.os == 'linux' && matrix.targetVSCode == 'latest'
uses: actions/upload-artifact@v3
with:
name: liberty-run-tests-screenshots-${{ github.sha }}
path: ./**/*.png
path: ./screenshots/*.png
if-no-files-found: warn
retention-days: 7
4 changes: 2 additions & 2 deletions src/test/GradleSingleModJakartaLSTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('LSP4Jakarta LS test for snippet test', () => {
await editor.clearText();
}

await utils.delay(9000);
await utils.delay(65000);
await editor.typeText("rest");
await utils.delay(6000);

Expand Down Expand Up @@ -48,7 +48,7 @@ describe('LSP4Jakarta LS test for snippet test', () => {

after(() => {
const sourcePath = VSBrowser.instance.getScreenshotsDir();
const destinationPath = './images';
const destinationPath = './screenshots';

copyFolderContents(sourcePath, destinationPath);
});
Expand Down

0 comments on commit 16802de

Please sign in to comment.