Skip to content

Commit

Permalink
Merge pull request #24 from IvanMurzak/unity-version-badges
Browse files Browse the repository at this point in the history
Unity Tests badges
  • Loading branch information
IvanMurzak authored Feb 12, 2025
2 parents cf715aa + 38c389d commit b8d3f48
Show file tree
Hide file tree
Showing 13 changed files with 182 additions and 95 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/2019.4.40f1_editor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 2019.4.40f1-Editor

on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
editor-tests:
uses: ./.github/workflows/main.yml
with:
projectPath: './'
unityVersion: '2019.4.40f1'
testMode: 'editmode'
secrets: inherit
18 changes: 18 additions & 0 deletions .github/workflows/2020.3.40f1_editor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 2020.3.40f1-Editor

on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
editor-tests:
uses: ./.github/workflows/main.yml
with:
projectPath: './'
unityVersion: '2020.3.40f1'
testMode: 'editmode'
secrets: inherit
18 changes: 18 additions & 0 deletions .github/workflows/2021.3.45f1_editor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 2021.3.45f1-Editor

on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
editor-tests:
uses: ./.github/workflows/main.yml
with:
projectPath: './'
unityVersion: '2021.3.45f1'
testMode: 'editmode'
secrets: inherit
18 changes: 18 additions & 0 deletions .github/workflows/2022.3.57f1_editor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 2022.3.57f1-Editor

on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
editor-tests:
uses: ./.github/workflows/main.yml
with:
projectPath: './'
unityVersion: '2022.3.57f1'
testMode: 'editmode'
secrets: inherit
18 changes: 18 additions & 0 deletions .github/workflows/2023.1.20f1_editor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 2023.1.20f1-Editor

on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
editor-tests:
uses: ./.github/workflows/main.yml
with:
projectPath: './'
unityVersion: '2023.1.20f1'
testMode: 'editmode'
secrets: inherit
18 changes: 18 additions & 0 deletions .github/workflows/2023.2.20f1_editor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 2023.2.20f1-Editor

on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
editor-tests:
uses: ./.github/workflows/main.yml
with:
projectPath: './'
unityVersion: '2023.2.20f1'
testMode: 'editmode'
secrets: inherit
18 changes: 18 additions & 0 deletions .github/workflows/6000.0.37f1_editor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 6000.0.37f1-Editor

on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
editor-tests:
uses: ./.github/workflows/main.yml
with:
projectPath: './'
unityVersion: '6000.0.37f1'
testMode: 'editmode'
secrets: inherit
49 changes: 49 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Editor Tests

on:
workflow_call:
inputs:
projectPath:
required: true
type: string
unityVersion:
required: true
type: string
testMode:
required: true
type: string
secrets:
UNITY_LICENSE:
required: true
UNITY_EMAIL:
required: true
UNITY_PASSWORD:
required: true

jobs:
test:
name: ${{ inputs.unityVersion }} ${{ inputs.testMode }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: false
- uses: actions/cache@v4
with:
path: ${{ inputs.projectPath }}/Library
key: Library-${{ inputs.unityVersion }}
restore-keys: |
Library-
- uses: game-ci/unity-test-runner@v4
id: tests
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
projectPath: ${{ inputs.projectPath }}
unityVersion: ${{ inputs.unityVersion }}
testMode: ${{ inputs.testMode }}
artifactsPath: ${{ inputs.testMode }}-artifacts
githubToken: ${{ secrets.GITHUB_TOKEN }}
checkName: ${{ inputs.unityVersion }} ${{ inputs.testMode }} Test Results
53 changes: 0 additions & 53 deletions .github/workflows/unity-tests.yml

This file was deleted.

1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"cSpell.words": [
"ARGB",
"cysharp",
"editmode",
"imageloader",
"Murzak",
"openupm",
Expand Down
16 changes: 2 additions & 14 deletions Assets/_PackageRoot/Documentation~/README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
# Unity Image Loader

![npm](https://img.shields.io/npm/v/extensions.unity.imageloader) [![openupm](https://img.shields.io/npm/v/extensions.unity.imageloader?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/extensions.unity.imageloader/) [![Tests](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg)](https://github.com/IvanMurzak/Unity-ImageLoader/actions) ![License](https://img.shields.io/github/license/IvanMurzak/Unity-ImageLoader) [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)
![npm](https://img.shields.io/npm/v/extensions.unity.imageloader) [![openupm](https://img.shields.io/npm/v/extensions.unity.imageloader?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/extensions.unity.imageloader/) ![License](https://img.shields.io/github/license/IvanMurzak/Unity-ImageLoader) [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua) ![2019.4.40f1](https://img.shields.io/github/actions/workflow/status/IvanMurzak/Unity-ImageLoader/2019.4.40f1_editor.yml?label=2019.4.40f1-Editor) ![2020.3.40f1](https://img.shields.io/github/actions/workflow/status/IvanMurzak/Unity-ImageLoader/2020.3.40f1_editor.yml?label=2020.3.40f1-Editor) ![2021.3.45f1](https://img.shields.io/github/actions/workflow/status/IvanMurzak/Unity-ImageLoader/2021.3.45f1_editor.yml?label=2021.3.45f1-Editor) ![2022.3.57f1](https://img.shields.io/github/actions/workflow/status/IvanMurzak/Unity-ImageLoader/2022.3.57f1_editor.yml?label=2022.3.57f1-Editor) ![2023.1.20f1](https://img.shields.io/github/actions/workflow/status/IvanMurzak/Unity-ImageLoader/2023.1.20f1_editor.yml?label=2023.1.20f1-Editor) ![2023.2.20f1](https://img.shields.io/github/actions/workflow/status/IvanMurzak/Unity-ImageLoader/2023.2.20f1_editor.yml?label=2023.2.20f1-Editor) ![6000.0.37f1](https://img.shields.io/github/actions/workflow/status/IvanMurzak/Unity-ImageLoader/6000.0.37f1_editor.yml?label=6000.0.37f1-Editor)

Async image loader with two caching layers for Unity.

## Test Status

| Unity Version | Status |
| ------------- | ------ |
| 2019.4.40f1 | ![2019.4.40f1](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg?unityVersion=2019.4.40f1) |
| 2020.3.40f1 | ![2020.3.40f1](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg?unityVersion=2020.3.40f1) |
| 2021.3.45f1 | ![2021.3.45f1](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg?unityVersion=2021.3.45f1) |
| 2022.3.57f1 | ![2022.3.57f1](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg?unityVersion=2022.3.57f1) |
| 2023.1.20f1 | ![2023.1.20f1](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg?unityVersion=2023.1.20f1) |
| 2023.2.20f1 | ![2023.2.20f1](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg?unityVersion=2023.2.20f1) |
| 6000.0.37f1 | ![6000.0.37f1](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg?unityVersion=6000.0.37f1) |
Async image loader with two caching layers for Unity. It supports loading images from web or local paths and provides memory and disk caching to optimize performance. The package includes features for automatic image setting, cancellation handling, error handling, and lifecycle management.

## Features

Expand Down
16 changes: 2 additions & 14 deletions Assets/_PackageRoot/README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
# Unity Image Loader

![npm](https://img.shields.io/npm/v/extensions.unity.imageloader) [![openupm](https://img.shields.io/npm/v/extensions.unity.imageloader?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/extensions.unity.imageloader/) [![Tests](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg)](https://github.com/IvanMurzak/Unity-ImageLoader/actions) ![License](https://img.shields.io/github/license/IvanMurzak/Unity-ImageLoader) [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)
![npm](https://img.shields.io/npm/v/extensions.unity.imageloader) [![openupm](https://img.shields.io/npm/v/extensions.unity.imageloader?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/extensions.unity.imageloader/) ![License](https://img.shields.io/github/license/IvanMurzak/Unity-ImageLoader) [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua) ![2019.4.40f1](https://img.shields.io/github/actions/workflow/status/IvanMurzak/Unity-ImageLoader/2019.4.40f1_editor.yml?label=2019.4.40f1-Editor) ![2020.3.40f1](https://img.shields.io/github/actions/workflow/status/IvanMurzak/Unity-ImageLoader/2020.3.40f1_editor.yml?label=2020.3.40f1-Editor) ![2021.3.45f1](https://img.shields.io/github/actions/workflow/status/IvanMurzak/Unity-ImageLoader/2021.3.45f1_editor.yml?label=2021.3.45f1-Editor) ![2022.3.57f1](https://img.shields.io/github/actions/workflow/status/IvanMurzak/Unity-ImageLoader/2022.3.57f1_editor.yml?label=2022.3.57f1-Editor) ![2023.1.20f1](https://img.shields.io/github/actions/workflow/status/IvanMurzak/Unity-ImageLoader/2023.1.20f1_editor.yml?label=2023.1.20f1-Editor) ![2023.2.20f1](https://img.shields.io/github/actions/workflow/status/IvanMurzak/Unity-ImageLoader/2023.2.20f1_editor.yml?label=2023.2.20f1-Editor) ![6000.0.37f1](https://img.shields.io/github/actions/workflow/status/IvanMurzak/Unity-ImageLoader/6000.0.37f1_editor.yml?label=6000.0.37f1-Editor)

Async image loader with two caching layers for Unity.

## Test Status

| Unity Version | Status |
| ------------- | ------ |
| 2019.4.40f1 | ![2019.4.40f1](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg?unityVersion=2019.4.40f1) |
| 2020.3.40f1 | ![2020.3.40f1](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg?unityVersion=2020.3.40f1) |
| 2021.3.45f1 | ![2021.3.45f1](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg?unityVersion=2021.3.45f1) |
| 2022.3.57f1 | ![2022.3.57f1](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg?unityVersion=2022.3.57f1) |
| 2023.1.20f1 | ![2023.1.20f1](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg?unityVersion=2023.1.20f1) |
| 2023.2.20f1 | ![2023.2.20f1](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg?unityVersion=2023.2.20f1) |
| 6000.0.37f1 | ![6000.0.37f1](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg?unityVersion=6000.0.37f1) |
Async image loader with two caching layers for Unity. It supports loading images from web or local paths and provides memory and disk caching to optimize performance. The package includes features for automatic image setting, cancellation handling, error handling, and lifecycle management.

## Features

Expand Down
16 changes: 2 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
# Unity Image Loader

![npm](https://img.shields.io/npm/v/extensions.unity.imageloader) [![openupm](https://img.shields.io/npm/v/extensions.unity.imageloader?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/extensions.unity.imageloader/) [![Tests](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg)](https://github.com/IvanMurzak/Unity-ImageLoader/actions) ![License](https://img.shields.io/github/license/IvanMurzak/Unity-ImageLoader) [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)
![npm](https://img.shields.io/npm/v/extensions.unity.imageloader) [![openupm](https://img.shields.io/npm/v/extensions.unity.imageloader?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/extensions.unity.imageloader/) ![License](https://img.shields.io/github/license/IvanMurzak/Unity-ImageLoader) [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua) ![2019.4.40f1](https://img.shields.io/github/actions/workflow/status/IvanMurzak/Unity-ImageLoader/2019.4.40f1_editor.yml?label=2019.4.40f1-Editor) ![2020.3.40f1](https://img.shields.io/github/actions/workflow/status/IvanMurzak/Unity-ImageLoader/2020.3.40f1_editor.yml?label=2020.3.40f1-Editor) ![2021.3.45f1](https://img.shields.io/github/actions/workflow/status/IvanMurzak/Unity-ImageLoader/2021.3.45f1_editor.yml?label=2021.3.45f1-Editor) ![2022.3.57f1](https://img.shields.io/github/actions/workflow/status/IvanMurzak/Unity-ImageLoader/2022.3.57f1_editor.yml?label=2022.3.57f1-Editor) ![2023.1.20f1](https://img.shields.io/github/actions/workflow/status/IvanMurzak/Unity-ImageLoader/2023.1.20f1_editor.yml?label=2023.1.20f1-Editor) ![2023.2.20f1](https://img.shields.io/github/actions/workflow/status/IvanMurzak/Unity-ImageLoader/2023.2.20f1_editor.yml?label=2023.2.20f1-Editor) ![6000.0.37f1](https://img.shields.io/github/actions/workflow/status/IvanMurzak/Unity-ImageLoader/6000.0.37f1_editor.yml?label=6000.0.37f1-Editor)

Async image loader with two caching layers for Unity.

## Test Status

| Unity Version | Status |
| ------------- | ------ |
| 2019.4.40f1 | ![2019.4.40f1](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg?unityVersion=2019.4.40f1) |
| 2020.3.40f1 | ![2020.3.40f1](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg?unityVersion=2020.3.40f1) |
| 2021.3.45f1 | ![2021.3.45f1](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg?unityVersion=2021.3.45f1) |
| 2022.3.57f1 | ![2022.3.57f1](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg?unityVersion=2022.3.57f1) |
| 2023.1.20f1 | ![2023.1.20f1](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg?unityVersion=2023.1.20f1) |
| 2023.2.20f1 | ![2023.2.20f1](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg?unityVersion=2023.2.20f1) |
| 6000.0.37f1 | ![6000.0.37f1](https://github.com/IvanMurzak/Unity-ImageLoader/actions/workflows/unity-tests.yml/badge.svg?unityVersion=6000.0.37f1) |
Async image loader with two caching layers for Unity. It supports loading images from web or local paths and provides memory and disk caching to optimize performance. The package includes features for automatic image setting, cancellation handling, error handling, and lifecycle management.

## Features

Expand Down

0 comments on commit b8d3f48

Please sign in to comment.