Skip to content

Commit 22d006d

Browse files
authored
Merge pull request #66 from IShix-g/release
Release
2 parents 147497b + dc6cc8d commit 22d006d

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

.github/workflows/reusable-test-runner.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ on:
2323
required: false
2424
type: string
2525
default: ''
26+
coverage-options:
27+
description: 'Options for configuring code coverage. https://game.ci/docs/github/test-runner#coverageoptions'
28+
required: false
29+
type: string
30+
default: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport'
2631
secrets:
2732
UNITY_LICENSE:
2833
required: true
@@ -82,6 +87,7 @@ jobs:
8287
artifactsPath: ${{ matrix.testMode }}-artifacts
8388
githubToken: ${{ secrets.GITHUB_TOKEN }}
8489
checkName: ${{ matrix.testMode }} Test Results
90+
coverageOptions: ${{ inputs.coverage-options }}
8591
- uses: actions/upload-artifact@v4
8692
if: always()
8793
with:

Assets/Tests/PlayMode/PlayTests2.cs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,6 @@ public IEnumerator RigidbodyGravityTest()
3131
Assert.That(rb.useGravity, Is.True, "Rigidbody should have gravity enabled.");
3232
}
3333

34-
[UnityTest]
35-
public IEnumerator AudioSourcePlayTest()
36-
{
37-
var audioObject = new GameObject("TestAudio");
38-
var audioSource = audioObject.AddComponent<AudioSource>();
39-
audioSource.clip = AudioClip.Create("TestClip", 44100, 1, 44100, false);
40-
audioSource.Play();
41-
42-
yield return null;
43-
44-
Assert.That(audioSource.isPlaying, Is.True, "The AudioSource should be playing.");
45-
}
46-
4734
[UnityTest]
4835
public IEnumerator GameObjectScaleChangeTest()
4936
{

0 commit comments

Comments
 (0)