mirror of
https://github.com/podman-desktop/podman-desktop
synced 2026-04-21 17:47:22 +00:00
chore(tests): include junit,verbose reporters and junit report output… (#3453)
* chore(tests): include default reporters and junit with report output file on CI Signed-off-by: Ondrej Dockal <odockal@redhat.com>
This commit is contained in:
parent
8f12e1aafe
commit
f42de6807b
2 changed files with 5 additions and 8 deletions
8
.github/workflows/pr-check.yaml
vendored
8
.github/workflows/pr-check.yaml
vendored
|
|
@ -209,12 +209,6 @@ jobs:
|
|||
- name: Run svelte check
|
||||
run: yarn svelte:check
|
||||
|
||||
- uses: actions/upload-artifact@v3.1.2
|
||||
if: always()
|
||||
with:
|
||||
name: tests
|
||||
path: ./tests/output/
|
||||
|
||||
smoke-e2e-tests:
|
||||
name: smoke e2e tests
|
||||
runs-on: ubuntu-22.04
|
||||
|
|
@ -245,5 +239,5 @@ jobs:
|
|||
- uses: actions/upload-artifact@v3.1.2
|
||||
if: always()
|
||||
with:
|
||||
name: tests
|
||||
name: smoke-e2e-tests
|
||||
path: ./tests/output/
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ const config = {
|
|||
* By default, vitest search test files in all packages.
|
||||
* For e2e tests have sense search only is project root tests folder
|
||||
*/
|
||||
include: ['**/{src,tests}/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
|
||||
include: ['**/tests/src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
|
||||
exclude: [
|
||||
'**/builtin/**',
|
||||
'**/node_modules/**',
|
||||
|
|
@ -48,6 +48,9 @@ const config = {
|
|||
*/
|
||||
testTimeout: 60_000,
|
||||
hookTimeout: 60_000,
|
||||
// test reporters - default for all and junit for CI
|
||||
reporters: process.env.CI ? ['default', 'junit'] : ['default'],
|
||||
outputFile: process.env.CI ? { junit: 'tests/output/junit-results.xml' } : {},
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue