Skip to content

Commit

Permalink
verify package content against baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-garcia committed Nov 29, 2021
1 parent 279b3d2 commit 1047b78
Show file tree
Hide file tree
Showing 4 changed files with 393 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,25 @@ jobs:
name: Test results (editmode)
path: artifacts/test/editmode

package-validation:
needs: [build]
name: UPM Package validation
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v2.3.3

- name: Download UPM package
uses: actions/download-artifact@v2
with:
name: package-release.zip

- name: Verify package content against snapshot
shell: pwsh
run: ./test/Scripts.Tests/test-pack-contents.ps1

android-smoke-test:
needs: [build]
name: Smoke Test - Android ${{ matrix.api-level }} Unity ${{ matrix.unity-version }}
Expand Down
1 change: 1 addition & 0 deletions scripts/pack.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Remove-Item "package-release" -Recurse
New-Item "package-release" -ItemType Directory

$exclude = @(
Expand Down
Loading

0 comments on commit 1047b78

Please sign in to comment.