Skip to content

Commit

Permalink
chore: add test file
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-yangy committed Oct 23, 2024
1 parent 67fa7ff commit cc83d1d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Build-StandaloneOSX
path: sample/**
path: sample/Builds/MacOS
test:
name: Run UI tests on AltTester 🧪
runs-on: macos-latest
Expand All @@ -52,7 +52,6 @@ jobs:
with:
name: Build-StandaloneOSX
- name: Open application
working-directory: Builds/MacOS
run: |
pwd
ls -la
Expand All @@ -68,8 +67,6 @@ jobs:
run: pip install -r "sample/Tests/requirements.txt"
- name: Run UI tests
run: |
pwd
ls -la
export ALTSERVER_PORT=13000
export ALTSERVER_HOST="159.196.149.251"
pytest -s -v sample/Tests/test.py
Expand Down
17 changes: 17 additions & 0 deletions sample/Tests/test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import unittest
from alttester import *

class UnityTest(unittest.TestCase):

# altdriver = None
#
# @classmethod
# def setUpClass(cls):
# cls.altdriver = AltDriver()
#
# @classmethod
# def tearDownClass(cls):
# cls.altdriver.stop()

def test(self):
assert True

0 comments on commit cc83d1d

Please sign in to comment.