WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 855bb39

Browse files
authored
Merge pull request #21 from end2endzone/feature-issue18
Deprecate x86_64 unit tests in favor of manual testing on actual hardware
2 parents f87ec1e + c60a829 commit 855bb39

26 files changed

+1
-884
lines changed

.github/workflows/build_linux.yml

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,6 @@ jobs:
5656
run: |
5757
mkdir ~/Documents #required for TestUser.testFoldersExisting() because /home/travis/Documents does not exists!
5858
mkdir ~/Desktop #required for TestUser.testFoldersExisting() because /home/travis/Desktop does not exists!
59-
60-
- name: Deploy 'tests not available' badge before building
61-
if: github.event.pull_request.head.repo.fork == false
62-
#uses: exuanbo/actions-deploy-gist@v1
63-
uses: end2endzone/actions-deploy-gist@main
64-
with:
65-
token: ${{ secrets.BADGES }}
66-
gist_id: 58cf6c72c08e706335337d5ef9ca48e8
67-
gist_file_name: ${{env.GIT_REPOSITORY}}.${{env.GIT_BRANCH}}.${{env.GITHUB_WORKFLOW}}.json
68-
file_path: ./ci/github/tests_not_available.badge.json
6959
7060
- name: Install yamlpath
7161
working-directory: ${{env.GITHUB_WORKSPACE}}
@@ -97,26 +87,6 @@ jobs:
9787
shell: bash
9888
run: ./ci/github/install_this.sh
9989

100-
- name: Install Google Test
101-
working-directory: ${{env.GITHUB_WORKSPACE}}
102-
shell: bash
103-
run: ./ci/github/install_googletest.sh
104-
105-
- name: Install RapidAssist
106-
working-directory: ${{env.GITHUB_WORKSPACE}}
107-
shell: bash
108-
run: ./ci/github/install_rapidassist.sh
109-
110-
- name: Install win32arduino
111-
working-directory: ${{env.GITHUB_WORKSPACE}}
112-
shell: bash
113-
run: ./ci/github/install_win32arduino.sh
114-
115-
- name: Build library
116-
working-directory: ${{env.GITHUB_WORKSPACE}}
117-
shell: bash
118-
run: ./ci/github/build_library.sh
119-
12090
- name: Build Arduino sketch - Basic
12191
working-directory: ${{env.GITHUB_WORKSPACE}}
12292
shell: bash
@@ -176,36 +146,3 @@ jobs:
176146
working-directory: ${{env.GITHUB_WORKSPACE}}
177147
shell: bash
178148
run: python ci/generic/arduino_build_sketch.py Rtttl2Code
179-
180-
- name: Run unit tests
181-
working-directory: ${{env.GITHUB_WORKSPACE}}
182-
shell: bash
183-
run: ./ci/github/test_script.sh
184-
185-
- name: Search unit test report file
186-
working-directory: ${{env.GITHUB_WORKSPACE}}
187-
shell: bash
188-
run: |
189-
UNITTEST_REPORT_PATH=$(find . -name 'anyrtttl_unittest*.xml')
190-
echo UNITTEST_REPORT_PATH=$UNITTEST_REPORT_PATH
191-
echo UNITTEST_REPORT_PATH=$UNITTEST_REPORT_PATH >> $GITHUB_ENV
192-
193-
- name: Create test badge
194-
working-directory: ${{env.GITHUB_WORKSPACE}}
195-
run: python ci/github/maketestbadge.py ${{env.UNITTEST_REPORT_PATH}}
196-
197-
- name: Deploy test badge to gist
198-
if: github.event.pull_request.head.repo.fork == false
199-
#uses: exuanbo/actions-deploy-gist@v1
200-
uses: end2endzone/actions-deploy-gist@main
201-
with:
202-
token: ${{ secrets.BADGES }}
203-
gist_id: 58cf6c72c08e706335337d5ef9ca48e8
204-
gist_file_name: ${{env.GIT_REPOSITORY}}.${{env.GIT_BRANCH}}.${{env.GITHUB_WORKFLOW}}.json
205-
file_path: ./badge.json
206-
207-
- name: Archive test results
208-
uses: actions/[email protected]
209-
with:
210-
name: unit-test-results
211-
path: build/bin/anyrtttl_unittest*.xml

.github/workflows/build_windows.yml

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,6 @@ jobs:
4848
shell: cmd
4949
run: |
5050
set
51-
52-
- name: Deploy 'tests not available' badge before building
53-
if: github.event.pull_request.head.repo.fork == false
54-
#uses: exuanbo/actions-deploy-gist@v1
55-
uses: end2endzone/actions-deploy-gist@main
56-
with:
57-
token: ${{ secrets.BADGES }}
58-
gist_id: 58cf6c72c08e706335337d5ef9ca48e8
59-
gist_file_name: ${{env.GIT_REPOSITORY}}.${{env.GIT_BRANCH}}.${{env.GITHUB_WORKFLOW}}.json
60-
file_path: ./ci/github/tests_not_available.badge.json
6151
6252
- name: Install yamlpath
6353
working-directory: ${{env.GITHUB_WORKSPACE}}
@@ -89,26 +79,6 @@ jobs:
8979
shell: cmd
9080
run: call ci\github\install_this.bat
9181

92-
- name: Install Google Test
93-
working-directory: ${{env.GITHUB_WORKSPACE}}
94-
shell: cmd
95-
run: call ci\github\install_googletest.bat
96-
97-
- name: Install RapidAssist
98-
working-directory: ${{env.GITHUB_WORKSPACE}}
99-
shell: cmd
100-
run: call ci\github\install_rapidassist.bat
101-
102-
- name: Install win32arduino
103-
working-directory: ${{env.GITHUB_WORKSPACE}}
104-
shell: cmd
105-
run: call ci\github\install_win32arduino.bat
106-
107-
- name: Build library
108-
working-directory: ${{env.GITHUB_WORKSPACE}}
109-
shell: cmd
110-
run: call ci\github\build_library.bat
111-
11282
- name: Build Arduino sketch - Basic
11383
working-directory: ${{env.GITHUB_WORKSPACE}}
11484
shell: cmd
@@ -168,36 +138,3 @@ jobs:
168138
working-directory: ${{env.GITHUB_WORKSPACE}}
169139
shell: cmd
170140
run: python ci\generic\arduino_build_sketch.py Rtttl2Code
171-
172-
- name: Run unit tests
173-
working-directory: ${{env.GITHUB_WORKSPACE}}
174-
shell: cmd
175-
run: call ci\github\test_script.bat
176-
177-
- name: Search unit test report file
178-
working-directory: ${{env.GITHUB_WORKSPACE}}
179-
shell: cmd
180-
run: |
181-
for /f "tokens=* usebackq" %%f in (`dir/b/s build\bin\${{env.configuration}}\anyrtttl_unittest*.xml`) do (set UNITTEST_REPORT_PATH=%%f)
182-
echo UNITTEST_REPORT_PATH=%UNITTEST_REPORT_PATH%
183-
echo UNITTEST_REPORT_PATH=%UNITTEST_REPORT_PATH% >> %GITHUB_ENV%
184-
185-
- name: Create test badge
186-
working-directory: ${{env.GITHUB_WORKSPACE}}
187-
run: python ci\github\maketestbadge.py ${{env.UNITTEST_REPORT_PATH}}
188-
189-
- name: Deploy test badge to gist
190-
if: github.event.pull_request.head.repo.fork == false
191-
#uses: exuanbo/actions-deploy-gist@v1
192-
uses: end2endzone/actions-deploy-gist@main
193-
with:
194-
token: ${{ secrets.BADGES }}
195-
gist_id: 58cf6c72c08e706335337d5ef9ca48e8
196-
gist_file_name: ${{env.GIT_REPOSITORY}}.${{env.GIT_BRANCH}}.${{env.GITHUB_WORKFLOW}}.json
197-
file_path: ./badge.json
198-
199-
- name: Archive test results
200-
uses: actions/[email protected]
201-
with:
202-
name: unit-test-results
203-
path: build\bin\${{env.Configuration}}\anyrtttl_unittest*.xml

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Changes for 2.4.0
22

33
* Fixed issue #15 - Compilation fails with the ESP32 core version 3.x.
44
* Fixed issue #17 - Deprecate AppVeyor-based compilation pipeline.
5+
* Fixed issue #18 - Deprecate x86_64 unit tests in favor of manual testing on actual hardware.
56

67

78
Changes for 2.3.1

ci/generic/patch.py

Lines changed: 0 additions & 70 deletions
This file was deleted.

ci/generic/win32arduino.pattern.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

ci/generic/win32arduino.replace.txt

Lines changed: 0 additions & 10 deletions
This file was deleted.

ci/github/build_library.bat

Lines changed: 0 additions & 11 deletions
This file was deleted.

ci/github/build_library.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

ci/github/install_googletest.bat

Lines changed: 0 additions & 11 deletions
This file was deleted.

ci/github/install_googletest.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)