Skip to content

Commit cc83d1d

Browse files
committed
chore: add test file
1 parent 67fa7ff commit cc83d1d

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

.github/workflows/ui-tests.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
uses: actions/upload-artifact@v4
4040
with:
4141
name: Build-StandaloneOSX
42-
path: sample/**
42+
path: sample/Builds/MacOS
4343
test:
4444
name: Run UI tests on AltTester 🧪
4545
runs-on: macos-latest
@@ -52,7 +52,6 @@ jobs:
5252
with:
5353
name: Build-StandaloneOSX
5454
- name: Open application
55-
working-directory: Builds/MacOS
5655
run: |
5756
pwd
5857
ls -la
@@ -68,8 +67,6 @@ jobs:
6867
run: pip install -r "sample/Tests/requirements.txt"
6968
- name: Run UI tests
7069
run: |
71-
pwd
72-
ls -la
7370
export ALTSERVER_PORT=13000
7471
export ALTSERVER_HOST="159.196.149.251"
7572
pytest -s -v sample/Tests/test.py

sample/Tests/test.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import unittest
2+
from alttester import *
3+
4+
class UnityTest(unittest.TestCase):
5+
6+
# altdriver = None
7+
#
8+
# @classmethod
9+
# def setUpClass(cls):
10+
# cls.altdriver = AltDriver()
11+
#
12+
# @classmethod
13+
# def tearDownClass(cls):
14+
# cls.altdriver.stop()
15+
16+
def test(self):
17+
assert True

0 commit comments

Comments
 (0)