Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Test] Setup autotest infrastructure #23

Merged
merged 21 commits into from
Jan 9, 2025
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix env variable, enable debug
Fabricio-ESP committed Jan 6, 2025
commit 5843b9b829b8579129664117c4d07675f0c7a5cd
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -74,11 +74,12 @@ jobs:
if: runner.os == 'Linux'
run: |
sudo Xvfb :99 -ac -screen 0 1920x1080x24 &
export DISPLAY=:99
echo "DISPLAY=:99" >> $GITHUB_ENV

- name: Run IDF installation and post install test script (non-Windows)
if: runner.os != 'Windows'
run: |
export DEBUG="true"
export LOG_TO_FILE="true"
chmod +x ./tests/run_test.sh
. ./tests/run_test.sh "../test-bin/eim" "${{ env.CLI_TAG }}"
@@ -115,8 +116,9 @@ jobs:
- name: Run IDF installation and post install test script (Windows)
if: runner.os == 'Windows'
run: |
$env:DEBUG="true"
$env:LOG_TO_FILE="true"
.\tests\run_test.ps1 "..\test-bin\eim.exe" "eim ${{ env.CLI_TAG }}"
.\tests\run_test.ps1 "..\test-bin\eim.exe" "${{ env.CLI_TAG }}"

# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++