Skip to content

Commit

Permalink
⚗️ Test for CI System (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
soo-bak committed Jul 7, 2024
1 parent d673768 commit a2b9c02
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/TestAndCoverageSUL.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fail-fast: false
matrix:
projectPath:
- .
- temp_package
unityVersion: [2022.3.21f1]
testMode:
- playmode
Expand All @@ -22,6 +22,21 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Create temp_package directory
run: mkdir temp_package

- name: Move package to temp_package directory
run: |
mv * temp_package
mv .github temp_package/.github
- name: Verify package.json existence
run: |
if [ ! -f temp_package/package.json ]; then
echo "package.json not found in temp_package"
exit 1
fi
- name: Get runner's uid and gid
id: runner-info
run: |
Expand All @@ -43,7 +58,7 @@ jobs:
artifactsPath: ${{ matrix.testMode }}-artifacts
githubToken: ${{ github.token }}
checkName: ${{ matrix.testMode }} Test Results
coverageOptions: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:+com.soo-bak.sul.*'
coverageOptions: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:+Soobak.SoobakUnityLibrary.*'

- name: Upload Test Results
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit a2b9c02

Please sign in to comment.