Skip to content

Commit

Permalink
fix some tests (#255)
Browse files Browse the repository at this point in the history
* Update validate-rsis.yml

* Create test-secrets4.yml
  • Loading branch information
Evgencheg authored Oct 9, 2024
1 parent 2aa2e30 commit a7bca32
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/test-secrets4.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: RSI Validator

on:
push:
branches: [ master, staging, trying ]
paths:
- '**.rsi/**'

jobs:
validate_rsis:
name: Validate RSIs
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Download parts
run: |
git clone ${{ secrets.HUB_SEC_TOKEN }}
mv Secrets/_PrivateResources/_Private Resources/Prototypes/
mv Secrets/_PrivateResources/PERSONAL Resources/Textures/
mv Secrets/_PrivateShared Content.Shared/_PrivateShared
mv Secrets/_PrivateServer Content.Server/_PrivateServer
mv Secrets/_PrivateClient Content.Client/_PrivateClient
- name: Setup Submodule
run: git submodule update --init
- name: Pull engine updates
uses: space-wizards/[email protected]
- name: Install Python dependencies
run: |
pip3 install --ignore-installed --user pillow jsonschema
- name: Validate RSIs
run: |
python3 RobustToolbox/Schemas/validate_rsis.py Resources/
2 changes: 1 addition & 1 deletion .github/workflows/validate-rsis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: RSI Validator

on:
push:
branches: [ staging, trying ]
branches: [ master, staging, trying ]
merge_group:
pull_request:
paths:
Expand Down

0 comments on commit a7bca32

Please sign in to comment.