mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-22 22:22:22 +00:00
54 lines
1.8 KiB
YAML
54 lines
1.8 KiB
YAML
---
|
|
|
|
# -------------------------------------------------------------------------------------------------
|
|
# Job Name
|
|
# -------------------------------------------------------------------------------------------------
|
|
name: Versions
|
|
|
|
|
|
# -------------------------------------------------------------------------------------------------
|
|
# When to run
|
|
# -------------------------------------------------------------------------------------------------
|
|
on:
|
|
# Runs on Pull Requests
|
|
pull_request:
|
|
|
|
# Runs on master Branch and Tags
|
|
push:
|
|
branches:
|
|
- master
|
|
tags:
|
|
- '[0-9]+.[0-9]+*'
|
|
|
|
|
|
jobs:
|
|
# -----------------------------------------------------------------------------------------------
|
|
# (1/3) Determine parameter settings
|
|
# -----------------------------------------------------------------------------------------------
|
|
params:
|
|
uses: ./.github/workflows/params-version-mysql.yml
|
|
|
|
|
|
# -----------------------------------------------------------------------------------------------
|
|
# (2/3) Test with default settings
|
|
# -----------------------------------------------------------------------------------------------
|
|
default:
|
|
needs: [params]
|
|
uses: ./.github/workflows/zzz-reuse-tests.yml
|
|
with:
|
|
matrix: ${{ needs.params.outputs.matrix }}
|
|
custom_config: false
|
|
operating_system: ubuntu-latest
|
|
|
|
|
|
# -----------------------------------------------------------------------------------------------
|
|
# (3/3) Test with customizedt settings
|
|
# -----------------------------------------------------------------------------------------------
|
|
custom:
|
|
needs: [params]
|
|
uses: ./.github/workflows/zzz-reuse-tests.yml
|
|
with:
|
|
matrix: ${{ needs.params.outputs.matrix }}
|
|
custom_config: true
|
|
operating_system: ubuntu-latest
|