Skip to content

Commit

Permalink
test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoteran committed Jul 28, 2023
1 parent d7b8ca1 commit daa7e10
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/deploy-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ jobs:
- name: Build packages
run: npm run build

- name: Generate fidelity artifacts
continue-on-error: true
uses: GabrielBB/xvfb-action@v1.0
with:
run: npm run --scope @google/model-viewer-render-fidelity-tools test --stream

- name: Stage documentation artifacts
run: ./packages/modelviewer.dev/scripts/ci-before-deploy.sh

Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/fidelity-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,13 @@ jobs:

# - name: Lint TypeScript sources
# run: npm run lint

- name: Build packages
run: |
npm run --scope @google/model-viewer build --stream
npm run --scope @google/model-viewer-render-fidelity-tools build --stream
- name: Fidelity tests
uses: GabrielBB/xvfb-action@v1.0
with:
run: npm run --scope @google/model-viewer-render-fidelity-tools test --stream
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
run: npm run build

- name: Unit tests
run: npm run test
run: npm run test:ci
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"private": true,
"description": "The repository for all <model-viewer> packages",
"scripts": {
"test": "npm run test --workspaces",
"test": "npm test --workspaces",
"test:ci": "npm test --workspaces",
"format": "find packages/**/src -name '*.ts' | grep -v .d.ts | xargs ./node_modules/.bin/clang-format --verbose -i",
"lint": "./node_modules/.bin/eslint \"packages/**/*.ts\"",
"lint:fix": "npm run lint -- --fix",
Expand Down

0 comments on commit daa7e10

Please sign in to comment.