Skip to content

Commit d79032d

Browse files
Merge pull request #16 from ServiceNow/workarena-plus-plus
WorkArena++
2 parents db073c6 + 0915d13 commit d79032d

File tree

11 files changed

+2371
-11
lines changed

11 files changed

+2371
-11
lines changed

.github/workflows/unit_tests.yml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches:
66
- main
77
pull_request:
8+
schedule:
9+
- cron: '59 23 * * SUN' # Runs at midnight on Sunday
810

911
jobs:
1012

@@ -101,4 +103,32 @@ jobs:
101103
SNOW_INSTANCE_URL: ${{ secrets.SNOW_INSTANCE_URL }}
102104
SNOW_INSTANCE_UNAME: ${{ secrets.SNOW_INSTANCE_UNAME }}
103105
SNOW_INSTANCE_PWD: ${{ secrets.SNOW_INSTANCE_PWD }}
104-
run: pytest -n 5 --durations=10 -m 'slow and not pricy' --slowmo 1000 -v tests
106+
run: pytest -n 5 --durations=10 -m 'slow and not pricy' --slowmo 1000 -v tests
107+
108+
end-to-end-tests:
109+
runs-on: ubuntu-latest
110+
if: github.event_name == 'schedule'
111+
defaults:
112+
run:
113+
shell: bash -l {0}
114+
steps:
115+
- name: Checkout Repository
116+
uses: actions/checkout@v4
117+
- name: Set up Python
118+
uses: actions/setup-python@v5
119+
with:
120+
python-version: '3.10'
121+
cache: 'pip'
122+
- name: Pip install
123+
working-directory: ./dev
124+
run: pip install -r requirements.txt
125+
- name: Pip list
126+
run: pip list
127+
- name: Install Playwright
128+
run: playwright install --with-deps
129+
- name: Run E2E Tests
130+
env:
131+
SNOW_INSTANCE_URL: ${{ secrets.SNOW_INSTANCE_URL }}
132+
SNOW_INSTANCE_UNAME: ${{ secrets.SNOW_INSTANCE_UNAME }}
133+
SNOW_INSTANCE_PWD: ${{ secrets.SNOW_INSTANCE_PWD }}
134+
run: pytest -n 5 --durations=10 -m 'pricy' --slowmo 1800 -v tests

.gitignore

Lines changed: 195 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,196 @@
1-
.DS_store
1+
# Byte-compiled / optimized / DLL files
22
__pycache__/
3-
*.py[cod]
3+
*.py[cod]
4+
*$py.class
5+
results/
6+
.vscode
7+
*.csv
8+
# C extensions
9+
*.so
10+
# Distribution / packaging
11+
.Python
12+
build/
13+
develop-eggs/
14+
dist/
15+
downloads/
16+
eggs/
17+
.eggs/
18+
lib/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
wheels/
24+
share/python-wheels/
25+
*.egg-info/
26+
.installed.cfg
27+
*.egg
28+
MANIFEST
29+
30+
# PyInstaller
31+
# Usually these files are written by a python script from a template
32+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
33+
*.manifest
34+
*.spec
35+
36+
# Installer logs
37+
pip-log.txt
38+
pip-delete-this-directory.txt
39+
40+
# Unit test / coverage reports
41+
htmlcov/
42+
.tox/
43+
.nox/
44+
.coverage
45+
.coverage.*
46+
.cache
47+
nosetests.xml
48+
coverage.xml
49+
*.cover
50+
*.py,cover
51+
.hypothesis/
52+
.pytest_cache/
53+
cover/
54+
55+
# Translations
56+
*.mo
57+
*.pot
58+
59+
# Django stuff:
60+
*.log
61+
local_settings.py
62+
db.sqlite3
63+
db.sqlite3-journal
64+
65+
# Flask stuff:
66+
instance/
67+
.webassets-cache
68+
69+
# Scrapy stuff:
70+
.scrapy
71+
72+
# Sphinx documentation
73+
docs/_build/
74+
75+
# PyBuilder
76+
.pybuilder/
77+
target/
78+
79+
# Jupyter Notebook
80+
.ipynb_checkpoints
81+
82+
# IPython
83+
profile_default/
84+
ipython_config.py
85+
86+
# pyenv
87+
# For a library or package, you might want to ignore these files since the code is
88+
# intended to run in multiple environments; otherwise, check them in:
89+
# .python-version
90+
91+
# pipenv
92+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
94+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
95+
# install all needed dependencies.
96+
#Pipfile.lock
97+
98+
# poetry
99+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
100+
# This is especially recommended for binary packages to ensure reproducibility, and is more
101+
# commonly ignored for libraries.
102+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
103+
#poetry.lock
104+
105+
# pdm
106+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
107+
#pdm.lock
108+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
109+
# in version control.
110+
# https://pdm.fming.dev/#use-with-ide
111+
.pdm.toml
112+
113+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
114+
__pypackages__/
115+
116+
# Celery stuff
117+
celerybeat-schedule
118+
celerybeat.pid
119+
120+
# SageMath parsed files
121+
*.sage.py
122+
123+
# Environments
124+
.env
125+
.venv
126+
venv/
127+
env.bak/
128+
venv.bak/
129+
130+
# Spyder project settings
131+
.spyderproject
132+
.spyproject
133+
134+
# Rope project settings
135+
.ropeproject
136+
137+
# mkdocs documentation
138+
/site
139+
140+
# mypy
141+
.mypy_cache/
142+
.dmypy.json
143+
dmypy.json
144+
145+
# Pyre type checker
146+
.pyre/
147+
148+
# pytype static type analyzer
149+
.pytype/
150+
151+
# Cython debug symbols
152+
cython_debug/
153+
154+
# PyCharm
155+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
156+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
157+
# and can be added to the global gitignore or merged into this file. For a more nuclear
158+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
159+
#.idea/
160+
161+
# MacOS
162+
**/.DS_Store
163+
164+
.vscode
165+
allowed_selenium.json
166+
167+
# Torchtune
168+
finetuning/torchtune
169+
170+
# PyLLMD repo for finetuning
171+
pyllmd_tune/research-pyllmd/
172+
pyllmd_tune/data/
173+
174+
175+
datasets/*
176+
_sandbox.py
177+
node_modules/
178+
/test-results/
179+
/playwright-report/
180+
/blob-report/
181+
/playwright/.cache/
182+
/test-results/
183+
/playwright-report/
184+
/blob-report/
185+
/playwright/.cache/
186+
187+
188+
results/
189+
190+
# personal (optimass)
191+
ICML_deadline/
192+
mass_utils/
193+
pyllmd_tune/
194+
195+
# don't ignore the miniwob_tasks_all.csv file
196+
!miniwob_tasks_all.csv

0 commit comments

Comments
 (0)