Skip to content
This repository was archived by the owner on Aug 10, 2021. It is now read-only.

Commit 5ab7c99

Browse files
authored
GitHub Unity3D actions (#26)
* Added Github actions for Unity. * Updated branch names. * Added env for Unity License. * Testing Github artifacts. * Updated GitHub action branches. * Added GitHub action badge in README.md. * Updated GitHub actions workflow. * Fixed actions. * Added activation.yml. * Updated activation.yml. * Removed activation.yml. * Updated Unity version. * Added step for storing test results.
1 parent c55fd30 commit 5ab7c99

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

.github/workflows/main.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
env:
10+
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
11+
12+
jobs:
13+
test:
14+
name: Unity Tests Workflow
15+
runs-on: ubuntu-latest
16+
steps:
17+
# Checkout
18+
- name: Checkout Repository
19+
uses: actions/checkout@v2
20+
with:
21+
lfs: true
22+
23+
# Test
24+
- name: Run Tests
25+
id: testRunner
26+
uses: webbertakken/unity-test-runner@v1.3
27+
with:
28+
projectPath: .
29+
unityVersion: 2019.4.11f1
30+
31+
# Test Results
32+
- name: Upload Test Results
33+
uses: actions/upload-artifact@v1
34+
with:
35+
name: Test results
36+
path: ${{ steps.testRunner.outputs.artifactsPath }}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Unity Scriptable Objects
22
[![Unity 2019.4+](https://img.shields.io/badge/unity-2019.4%2B-blue.svg)](https://unity3d.com/get-unity/download)
3+
[![Actions Status](https://github.com/chark/unity-scriptable-objects/workflows/CI/badge.svg)](https://github.com/chark/unity-scriptable-objects/actions)
34

45
This package provides utilities for implementing game architecture which is oriented around `ScriptableObject` assets and game events. Most of these ideas are based on [Unite2017](https://github.com/roboryantron/Unite2017).
56

0 commit comments

Comments
 (0)