Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Granular testing actions (#10327)
Browse files Browse the repository at this point in the history
* test out matrix config

* syntax

* i hate action errors

* change directory

* forgot server-core :(

* break server core off

* syntax

* more syntax as github has taken years to not put out a pre check system

* docker strat

* remove debug logging from assetLoader
  • Loading branch information
DanielBelmes authored Jun 7, 2024
1 parent 1c68aaa commit becbebf
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion .github/workflows/branch-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,41 @@ jobs:
test:
needs: install-modules
runs-on: ubuntu-latest
strategy:
matrix:
package:
- client
- client-core
- common
- ecs
- editor
- engine
- hyperflux
- matchmaking
- network
- server
- spatial
- taskserver
- visual-script
- xrui
defaults:
run:
shell: bash
steps:
- uses: actions/cache@v3
with:
path: .
key: dir-${{github.sha}}
- run: cd packages/${{ matrix.package }} && npm run test

test_docker:
needs: install-modules
runs-on: ubuntu-latest
strategy:
matrix:
package:
- server-core
- instanceserver
defaults:
run:
shell: bash
Expand All @@ -108,4 +143,4 @@ jobs:
- run: npm run dev-docker
- run: npm run dev-reinit
- run: git config --global user.email "[email protected]" && git config --global user.name "Your Name"
- run: npm run test
- run: cd packages/${{ matrix.package }} && npm run test

0 comments on commit becbebf

Please sign in to comment.