Skip to content

Commit fcf6d82

Browse files
committed
Run e2e tests only with GUI version on macos (Github runners are basically mac mini with GUI support)"
1 parent e8be81a commit fcf6d82

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,13 @@ jobs:
128128
with:
129129
python-version: '3.9'
130130
architecture: 'x64'
131-
if: matrix.os == 'ubuntu-18.04'
131+
if: matrix.os == 'macos-10.15'
132132

133133
- name: Run e2e tests
134134
run: |
135135
pip install poetry
136136
task test-e2e
137-
if: matrix.os == 'ubuntu-18.04'
137+
if: matrix.os == 'macos-10.15'
138138

139139
# this will create `public/` dir with compressed full bin (<version>/<os>-<arch>.gz) and a json file
140140
- name: Create autoupdate files

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ jobs:
9696
with:
9797
python-version: '3.9'
9898
architecture: 'x64'
99-
if: matrix.os == 'ubuntu-18.04'
99+
if: matrix.os == 'macos-10.15'
100100

101101
- name: Run e2e tests
102102
run: |
103103
pip install poetry
104104
task test-e2e
105-
if: matrix.os == 'ubuntu-18.04'
105+
if: matrix.os == 'macos-10.15'
106106

107107
# config.ini is required by the executable when it's run
108108
- name: Upload artifacts

test/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@pytest.fixture(scope="function")
1313
def agent(pytestconfig):
1414

15-
agent_cli = str(Path(pytestconfig.rootdir) / "arduino-create-agent_cli")
15+
agent_cli = str(Path(pytestconfig.rootdir) / "arduino-create-agent")
1616
env = {
1717
# "ARDUINO_DATA_DIR": data_dir,
1818
# "ARDUINO_DOWNLOADS_DIR": downloads_dir,
@@ -24,7 +24,7 @@ def agent(pytestconfig):
2424

2525
cd_command = "cd"
2626
with run_context.prefix(f'{cd_command} ..'):
27-
runner.run(command=agent_cli, echo=True, hide=True, warn=True, env=env, asynchronous=True)
27+
runner.run(agent_cli, echo=True, hide=True, warn=True, env=env, asynchronous=True)
2828

2929
# we give some time to the agent to start and listen to
3030
# incoming requests

0 commit comments

Comments
 (0)