mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 21:19:18 +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
|
||||
export XVFB=xvfb-run
|
||||
fi
|
||||
if [[ "${{ github.base_ref }}" == "beta" ]] || [[ "${{ github.ref }}" == "beta" ]] ; then
|
||||
export TESTS_BRANCH=beta
|
||||
else
|
||||
export TESTS_BRANCH=main
|
||||
fi
|
||||
cd build
|
||||
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
|
||||
$XVFB bash run-tests.sh
|
||||
|
Loading…
Reference in New Issue
Block a user