Skip to content

Commit

Permalink
New test try
Browse files Browse the repository at this point in the history
  • Loading branch information
vontell committed Sep 16, 2024
1 parent d91691b commit e9945a7
Show file tree
Hide file tree
Showing 15 changed files with 28 additions and 85 deletions.
47 changes: 25 additions & 22 deletions .github/workflows/e2e_tests.yml
Original file line number Diff line number Diff line change
@@ -1,50 +1,53 @@
name: Unity Build and Test
#file: .github/workflows/qa-tests.yml

on:
# Build every commit to 'main'
push:
branches:
- main
name: Automated QA Tests 🤖

# Build every PR
pull_request:
on: [push]

concurrency:
group: unity_build
cancel-in-progress: false

# See https://game.ci/docs/github/test-runner for more info
jobs:
test:
name: Unity E2E Tests
build:
name: Build and run tests ✨
runs-on: ubuntu-latest
permissions: write-all # This is to allow writing results into the artifacts section of GitHub Actions
steps:

# Checkout (without LFS)
- name: Checkout repository
uses: actions/checkout@v4
with:
lfs: true

# - name: Retrieve Cached Library
# uses: actions/cache@v3
# with:
# path: Library
# key: Library-${{ hashFiles('src/RGUnityBots/Assets/**', 'src/RGUnityBots/Packages/**', 'src/RGUnityBots/ProjectSettings/**') }}
# restore-keys: |
# Library-
# Cache
- name: Retrieve cached library
uses: actions/cache@v3
with:
path: Library
key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
restore-keys: |
Library-
- name: Run Unity Tests
# Test
# See https://game.ci/docs/github/test-runner for more information
- name: Run tests
id: run-unity-tests
uses: game-ci/unity-test-runner@v4
env:
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
testMode: PlayMode

# Output
- name: Upload Test Results
uses: actions/upload-artifact@v3
if: always()
with:
name: Test results
path: ${{ steps.run-unity-tests.outputs.artifactsPath }}

name: Test Results
path: ${{ steps.run-unity-tests.outputs.artifactsPath }}
3 changes: 0 additions & 3 deletions Assets/InitTestScene638616700859632610.unity

This file was deleted.

7 changes: 0 additions & 7 deletions Assets/InitTestScene638616700859632610.unity.meta

This file was deleted.

3 changes: 0 additions & 3 deletions Assets/InitTestScene638616878683737451.unity

This file was deleted.

7 changes: 0 additions & 7 deletions Assets/InitTestScene638616878683737451.unity.meta

This file was deleted.

3 changes: 0 additions & 3 deletions Assets/InitTestScene638616880316384937.unity

This file was deleted.

7 changes: 0 additions & 7 deletions Assets/InitTestScene638616880316384937.unity.meta

This file was deleted.

3 changes: 0 additions & 3 deletions Assets/InitTestScene638616882788713930.unity

This file was deleted.

7 changes: 0 additions & 7 deletions Assets/InitTestScene638616882788713930.unity.meta

This file was deleted.

3 changes: 0 additions & 3 deletions Assets/InitTestScene638616890455811376.unity

This file was deleted.

7 changes: 0 additions & 7 deletions Assets/InitTestScene638616890455811376.unity.meta

This file was deleted.

3 changes: 0 additions & 3 deletions Assets/InitTestScene638616893144176672.unity

This file was deleted.

7 changes: 0 additions & 7 deletions Assets/InitTestScene638616893144176672.unity.meta

This file was deleted.

2 changes: 1 addition & 1 deletion Assets/RegressionGames/Resources/regression_cert.txt.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Assets/Scenes/MainMenu.unity
Git LFS file not shown

0 comments on commit e9945a7

Please sign in to comment.