Skip to content

Commit 1885495

Browse files
committed
Shifted e2e testing infrastructe caching from Ubuntu job to macOS job
1 parent df61cd7 commit 1885495

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/remoteBuild.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
outPath: build-${{ matrix.os }}.tar.gz
137137
- name: Archive E2E Infrastructure
138138
uses: a7ul/[email protected]
139-
if: ${{ matrix.os == 'windows-latest' }}
139+
if: ${{ matrix.os == 'macos-latest' }}
140140
with:
141141
command: c
142142
cwd: tests
@@ -156,7 +156,7 @@ jobs:
156156
path: build-${{ matrix.os }}.tar.gz
157157
- name: Upload E2E Testing Infrastructure Artifact
158158
uses: actions/upload-artifact@v4
159-
if: ${{ matrix.os == 'windows-latest' }}
159+
if: ${{ matrix.os == 'macos-latest' }}
160160
with:
161161
name: e2e-archive
162162
path: e2e.tar.gz
@@ -168,7 +168,7 @@ jobs:
168168
path: res.tar.gz
169169
- name: Upload LICENSE Artifact
170170
uses: actions/upload-artifact@v4
171-
if: ${{ matrix.os == 'windows-latest' }}
171+
if: ${{ matrix.os == 'macos-latest' }}
172172
with:
173173
name: LICENSE
174174
path: LICENSE

tests/e2e/e2e-runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ def run_all_tests():
366366
[executable,
367367
join(src_dir, "z_curl/main.adept"),
368368
"-e"],
369-
lambda output: b"<html>" in output and b"</html>" in output,
369+
lambda output: b"User-Agent: *" in output and b"Sitemap: https://www.google.com/sitemap.xml" in output,
370370
expected_exitcode=0)
371371

372372
e2e_framework_run(run_all_tests)

tests/e2e/src/z_curl/main.adept

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func main {
1919
curl = curl_easy_init()
2020

2121
if(curl) {
22-
curl_easy_setopt(curl, CURLOPT_URL, 'https://example.com')
22+
curl_easy_setopt(curl, CURLOPT_URL, 'https://www.google.com/robots.txt')
2323

2424
/* specify certificate bundle (only required for windows) */
2525
#if __windows__

0 commit comments

Comments
 (0)