@@ -13,7 +13,7 @@ concurrency:
13
13
jobs :
14
14
build :
15
15
name : Build sample game for AltTester 🛠️
16
- runs-on : macos-15
16
+ runs-on : windows-2022
17
17
steps :
18
18
- uses : actions/checkout@v3
19
19
with :
@@ -33,29 +33,20 @@ jobs:
33
33
ALTSERVER_HOST : 54.66.58.33
34
34
ALTSERVER_PORT : 13000
35
35
with :
36
- targetPlatform : StandaloneOSX
36
+ targetPlatform : StandaloneWindows64
37
37
projectPath : sample
38
- buildMethod : MacBuilder .BuildForAltTester
38
+ buildMethod : WindowsBuilder .BuildForAltTester
39
39
customParameters : -logFile logFile.log -quit -batchmode
40
40
- name : Upload artifact
41
41
uses : actions/upload-artifact@v4
42
42
if : always()
43
43
with :
44
- name : Build-StandaloneOSX
45
- path : sample/Builds/MacOS
46
- test :
47
- name : Run UI tests on AltTester 🧪
48
- runs-on : macos-latest
49
- needs : build
50
- steps :
51
- - uses : actions/checkout@v3
52
- with :
53
- lfs : true
54
- - uses : actions/download-artifact@v4
55
- with :
56
- name : Build-StandaloneOSX
44
+ name : Build-StandaloneWindows64
45
+ path : sample/**
57
46
- name : Open application
58
47
run : |
48
+ pwd
49
+ ls -la
59
50
export RUN_IN_BROWSERSTACK="false"
60
51
export ALTSERVER_HOST="54.66.58.33"
61
52
export ALTSERVER_PORT=13000
68
59
run : pip install -r "sample/Tests/requirements.txt"
69
60
- name : Run UI tests
70
61
run : |
62
+ pwd
63
+ ls -la
71
64
export ALTSERVER_HOST="54.66.58.33"
72
65
export ALTSERVER_PORT=13000
73
66
pytest -s -v sample/Tests/test.py
67
+ # test:
68
+ # name: Run UI tests on AltTester 🧪
69
+ # runs-on: macos-latest
70
+ # needs: build
71
+ # steps:
72
+ # - uses: actions/checkout@v3
73
+ # with:
74
+ # lfs: true
75
+ # - uses: actions/download-artifact@v4
76
+ # with:
77
+ # name: Build-StandaloneWindows64
78
+ # - name: Open application
79
+ # run: |
80
+ # pwd
81
+ # ls -la
82
+ # export RUN_IN_BROWSERSTACK="false"
83
+ # export ALTSERVER_HOST="54.66.58.33"
84
+ # export ALTSERVER_PORT=13000
85
+ # chmod -R 755 SampleApp.app
86
+ # open SampleApp.app
87
+ # - uses: actions/setup-python@v4
88
+ # with:
89
+ # python-version: "3.10"
90
+ # - name: Install dependencies
91
+ # run: pip install -r "sample/Tests/requirements.txt"
92
+ # - name: Run UI tests
93
+ # run: |
94
+ # export ALTSERVER_HOST="54.66.58.33"
95
+ # export ALTSERVER_PORT=13000
96
+ # pytest -s -v sample/Tests/test.py
74
97
0 commit comments