Skip to content

Commit

Permalink
Update tests workflow to only run against main temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
antja0 committed Oct 12, 2020
1 parent 10886a9 commit 99cc252
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion templates/.github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ name: Tests
# NOTE: You need create a new github repository secret UNITY_LICENSE for this to work.
# For further details on how to add secrets, please see github docs https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository

on: push
on:
# Currently tests can only be ran against main branch because of how
# Test project is set up. See Samples\ExampleUnityProject\Packages\manifest.json
# Package is always cloned from the main branch for tests
push:
branches:
- main

env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
Expand Down

0 comments on commit 99cc252

Please sign in to comment.