Skip to content

Commit

Permalink
better tests
Browse files Browse the repository at this point in the history
  • Loading branch information
drewcassidy committed Sep 13, 2024
1 parent a72242b commit 26935d1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/internal-test-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ jobs:
run: |
unzip ${{ steps.assemble-release.outputs.artifact-path }} -d zip-artifact
tree github-artifact
tree zip-artifact
tree github-artifact/*
tree zip-artifact/*
if [[ $(tree github-artifact/*) != $(tree zip-artifact/*) ]]; then false; fi # fail if contents differ
if [[ ! -d github-artifact/GameData ]]; then false; fi # fail if GameData folder isnt present
if [[ -d github-artifact/GameData/plugin-mod/PluginMod.pdb ]]; then false; fi # fail if PDB is still present
if [[ $(tree github-artifact/*) != $(tree zip-artifact/*) ]]; then echo "tree mismatch" && false; fi # fail if contents differ
if [[ ! -d github-artifact/GameData ]]; then echo "GameData not present" && false; fi # fail if GameData folder isnt present
if [[ -f github-artifact/GameData/plugin-mod/PluginMod.pdb ]]; then echo "pdb still present" && false; fi # fail if PDB is still present

0 comments on commit 26935d1

Please sign in to comment.