Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable test with Unity CI #1

Merged
merged 1 commit into from
Nov 23, 2024
Merged

Enable test with Unity CI #1

merged 1 commit into from
Nov 23, 2024

Conversation

josemgmz
Copy link
Owner

This pull request includes a new GitHub Actions workflow to automate testing and several adjustments to the wait times in the EvaluateLevel test method to improve its reliability.

New GitHub Actions Workflow:

  • .github/workflows/check_test.yml: Added a new workflow configuration to run tests on push and pull request events. This workflow includes steps for checking out the code, caching the Unity Library, and running Unity tests using the game-ci/unity-test-runner action.

Test Adjustments:

  • Assets/Scripts/Game/Tests/E2ETest/Levels/LevelsTests.cs: Increased the wait times in the EvaluateLevel method to ensure more reliable test execution. Changes include:
    • Increased wait time after ending the round from 2.0 seconds to 4.5 seconds.
    • Increased wait time after performing a drag action from 5.0 seconds to 7.25 seconds.
    • Increased wait time between card drags from 0.25 seconds to 0.75 seconds.
    • Increased final wait time before asserting the round from 1.0 second to 2.0 seconds.

@josemgmz josemgmz merged commit 349f360 into master Nov 23, 2024
3 checks passed
@josemgmz josemgmz deleted the feat/unity-ci branch November 23, 2024 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant