mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-15 19:52:05 +00:00
Clone tests beta branch when running actions for Aseprite beta branch
This commit is contained in:
parent
7d248c33d7
commit
eb53829629
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -56,8 +56,13 @@ jobs:
|
|||||||
if [[ "${{ runner.os }}" == "Linux" ]] ; then
|
if [[ "${{ runner.os }}" == "Linux" ]] ; then
|
||||||
export XVFB=xvfb-run
|
export XVFB=xvfb-run
|
||||||
fi
|
fi
|
||||||
|
if [[ "${{ github.base_ref }}" == "beta" ]] || [[ "${{ github.ref }}" == "beta" ]] ; then
|
||||||
|
export TESTS_BRANCH=beta
|
||||||
|
else
|
||||||
|
export TESTS_BRANCH=main
|
||||||
|
fi
|
||||||
cd build
|
cd build
|
||||||
export ASEPRITE=$PWD/bin/aseprite
|
export ASEPRITE=$PWD/bin/aseprite
|
||||||
git clone --recursive https://github.com/aseprite/tests.git
|
git clone --branch $TESTS_BRANCH --recursive https://github.com/aseprite/tests.git
|
||||||
cd tests
|
cd tests
|
||||||
$XVFB bash run-tests.sh
|
$XVFB bash run-tests.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user