Skip to content

Commit

Permalink
Add: Functional Test
Browse files Browse the repository at this point in the history
  • Loading branch information
nutti committed Dec 10, 2023
1 parent 35d85db commit a8d865d
Show file tree
Hide file tree
Showing 32 changed files with 831 additions and 180 deletions.
66 changes: 0 additions & 66 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@ workflows:
version: 2.1
build:
jobs:
# - functional-test-plugin:
# context:
# - unreal-engine-ci
# matrix:
# parameters:
# unreal-engine-version: ["5.3.0"]
# version: ["full"]
- build-plugin:
context:
- unreal-engine-ci
Expand All @@ -30,65 +23,6 @@ workflows:

version: 2.1
jobs:
# functional-test-plugin:
# parameters:
# unreal-engine-version:
# type: string
# version:
# type: string
# docker:
# - image: ghcr.io/epicgames/unreal-engine:dev-slim-<< parameters.unreal-engine-version >>
# auth:
# username: $GHCR_USERNAME
# password: $GHCR_PASSWORD
# steps:
# - checkout
# - run:
# name: Run scripts for the license removing
# command: bash tools/remove_license.sh BlueprintToRSTDoc << parameters.version >>
# - run:
# name: Run scripts for the code removing
# command: bash tools/remove_code.sh BlueprintToRSTDoc << parameters.unreal-engine-version >> << parameters.version >> .
# - run:
# name: "Run scripts for the release"
# command: bash tools/replace_engine_version.sh BlueprintToRSTDoc << parameters.unreal-engine-version >>
# - run:
# name: "Copy plugin"
# command: |
# mkdir ${PWD}/tests/functional_test/FunctionalTest/Plugins
# cp -r BlueprintToRSTDoc ${PWD}/tests/functional_test/FunctionalTest/Plugins
# - run:
# name: "Build project"
# command: |
# /home/ue4/UnrealEngine/Engine/Build/BatchFiles/RunUAT.sh BuildCookRun \
# -utf8output \
# -platform=Linux \
# -clientconfig=Shipping \
# -serverconfig=Shipping \
# -project=${PWD}/tests/functional_test/FunctionalTest/FunctionalTest.uproject \
# -noP4 \
# -nodebuginfo \
# -allmaps \
# -cook \
# -build \
# -stage \
# -prereqs \
# -pak \
# -archive \
# -archivedirectory=/tmp/Packaged
# - run:
# name: "Functional test against Plugin"
# command: |
# /home/ue4/UnrealEngine/Engine/Binaries/Linux/UnrealEditor \
# ${PWD}/tests/functional_test/FunctionalTest/FunctionalTest.uproject \
# -unattended \
# -nopause \
# -NullRHI \
# -ExecCmds="Automation RunTests BlueprintToRSTDoc; Quit" \
# -testexit="Automation Test Queue Empty" \
# -log=RunTests.log \
# -ReportOutputPath="/tmp/FunctionalTestsReport"

build-plugin:
parameters:
unreal-engine-version:
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,22 +47,22 @@ jobs:
run: |
bash tests/lint/clang-format/run.sh samples/SampleProject
# functional-test-clang-format:
# name: functional-test-clang-format
# runs-on: ubuntu-latest
# container:
# image: ubuntu:20.04
# steps:
# - name: Checkout repo
# uses: actions/checkout@v2

# - name: Install clang-format
# run: |
# apt update
# apt install -y clang-format
# - name: clang-format
# run: |
# bash tests/lint/clang-format/run.sh tests/functional_test/FunctionalTest
functional-test-clang-format:
name: functional-test-clang-format
runs-on: ubuntu-latest
container:
image: ubuntu:20.04
steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Install clang-format
run: |
apt update
apt install -y clang-format
- name: clang-format
run: |
bash tests/lint/clang-format/run.sh tests/functional_test/FunctionalTest
markdownlint:
name: markdownlint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ public BlueprintToRSTDoc(ReadOnlyTargetRules Target) : base(Target)
PublicIncludePaths.AddRange(new string[]{});
PrivateIncludePaths.AddRange(new string[]{"BlueprintToRSTDoc/Public"});
PublicDependencyModuleNames.AddRange(new string[]{"Core"});
PrivateDependencyModuleNames.AddRange(
new string[]{"Projects", "CoreUObject", "Engine", "Slate", "SlateCore", "BlueprintGraph", "ToolMenus", "Kismet", "DesktopPlatform", "InputCore"});
PrivateDependencyModuleNames.AddRange(new string[]{"Projects", "CoreUObject", "Engine", "Slate", "SlateCore",
"BlueprintGraph", "ToolMenus", "Kismet", "DesktopPlatform", "InputCore"});
DynamicallyLoadedModuleNames.AddRange(new string[]{});
}
}
Loading

0 comments on commit a8d865d

Please sign in to comment.