Skip to content

Commit

Permalink
comment/disable test workflow for cmake as its not ready yet.
Browse files Browse the repository at this point in the history
  • Loading branch information
enetheru committed Nov 3, 2024
1 parent d3fc55d commit 6dcc9c3
Showing 1 changed file with 26 additions and 24 deletions.
50 changes: 26 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,27 +245,29 @@ jobs:
cmake ../
cmake --build . --verbose -t godot-cpp-test --config Release
- name: Download latest Godot artifacts
uses: dsnopek/action-download-artifact@1322f74e2dac9feed2ee76a32d9ae1ca3b4cf4e9
with:
repo: godotengine/godot
branch: master
event: push
workflow: windows_builds.yml
workflow_conclusion: success
name: windows-x86_64-msvc
search_artifacts: true
check_artifacts: true
ensure_latest: true
path: godot-artifacts

- name: Run tests
run: |
# Run the test project
$godot="./godot-artifacts/godot.windows.editor.x86_64.exe"
&$godot -e --path test\project\ --headless --quit *>$null
$godot_tr = C:\build\godot\msvc.master\bin\godot.windows.template_release.x86_64.exe
$godot_tr --path ..\test\project\ --headless --quit
$output=&$godot --path test\project\ --headless --quit *>&1 | Out-String
!$output.Contains("==== TESTS FINISHED ====")
$output.Contains("******** FAILED ********")
# - name: Download latest Godot artifacts
# uses: dsnopek/action-download-artifact@1322f74e2dac9feed2ee76a32d9ae1ca3b4cf4e9
# with:
# repo: godotengine/godot
# branch: master
# event: push
# workflow: windows_builds.yml
# workflow_conclusion: success
# name: windows-x86_64-msvc
# search_artifacts: true
# check_artifacts: true
# ensure_latest: true
# path: godot-artifacts

# FIXME Error: no matching workflow run found with any artifacts?

# - name: Run tests
# run: |
# # Run the test project
# $godot="./godot-artifacts/godot.windows.editor.x86_64.exe"
# &$godot -e --path test\project\ --headless --quit *>$null
# $godot_tr = C:\build\godot\msvc.master\bin\godot.windows.template_release.x86_64.exe
# $godot_tr --path ..\test\project\ --headless --quit
# $output=&$godot --path test\project\ --headless --quit *>&1 | Out-String
# !$output.Contains("==== TESTS FINISHED ====")
# $output.Contains("******** FAILED ********")

0 comments on commit 6dcc9c3

Please sign in to comment.