diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 78560cea8..ad547dcda 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -175,6 +175,7 @@ jobs: - run: nuget pack -Version "2.0.0-github-${GITHUB_SHA}" - run: nuget push -Source "$NUGET_SOURCE" -ApiKey Az *.nupkg - uses: actions/upload-artifact@v2 + name: packages with: path: "*.nupkg" nugetmpac: @@ -198,5 +199,6 @@ jobs: - run: nuget pack -Version "2.0.0-github-${GITHUB_SHA}" - run: nuget push -Source "$NUGET_SOURCE" -ApiKey Az *.nupkg - uses: actions/upload-artifact@v2 + name: packages with: path: "*.nupkg" diff --git a/.github/workflows/runners.yml b/.github/workflows/runners.yml index 9f9dc8924..dcdfab66a 100644 --- a/.github/workflows/runners.yml +++ b/.github/workflows/runners.yml @@ -1,7 +1,7 @@ name: Runners on: schedule: - - cron: "*/10 * * * *" + - cron: "*/5 * * * *" jobs: sqlcreatecollection: runs-on: ubuntu-latest @@ -18,3 +18,8 @@ jobs: PORTAL_RUNNER_SUBSCRIPTION: 69e02f2d-f059-4409-9eac-97e8a276ae2c PORTAL_RUNNER_RESOURCE_GROUP: runners PORTAL_RUNNER_DATABASE_ACCOUNT: portal-sql-runner + - uses: actions/upload-artifact@v2 + if: failure() + with: + name: screenshots + path: failure.png diff --git a/.gitignore b/.gitignore index f1ef18016..ba806feab 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,5 @@ notebookapp/* Contracts/* .DS_Store .cache/ -.env \ No newline at end of file +.env +failure.png \ No newline at end of file diff --git a/test/index.spec.js b/test/index.spec.js index c46082b87..3df80cb6d 100644 --- a/test/index.spec.js +++ b/test/index.spec.js @@ -50,6 +50,7 @@ describe("Collection CRUD", () => { // .find('div[class="treeComponent dataResourceTree"]') // .should("contain", dbId); } catch (error) { + await page.screenshot({path: 'failure.png'}); trackException(error); throw error; }