@@ -19,50 +19,54 @@ jobs:
1919 AZURE_API_KEY : ${{ secrets.AZURE_API_KEY }}
2020 OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
2121 BASE_URL : ${{ vars.BASE_URL }}
22+ ORCHESTRATOR_AGENT_MODEL : ${{ vars.ORCHESTRATOR_AGENT_MODEL }}
23+ LOCATOR_AGENT_MODEL : ${{ vars.LOCATOR_AGENT_MODEL }}
24+ ORCHESTRATOR_AGENT_PROVIDER : ${{ vars.ORCHESTRATOR_AGENT_PROVIDER }}
25+ LOCATOR_AGENT_PROVIDER : ${{ vars.LOCATOR_AGENT_PROVIDER }}
2226 runs-on : ubuntu-latest
2327 strategy :
2428 fail-fast : false
2529 matrix :
26- python-version : ["3.11 "]
30+ python-version : ["3.12 "]
2731
2832 steps :
29- - uses : actions/checkout@v3
30- - name : Set up Python ${{ matrix.python-version }}
31- uses : actions/setup-python@v3
32- with :
33- python-version : ${{ matrix.python-version }}
34- - name : Install and configure Poetry
35- uses : snok/install-poetry@v1
36- with :
37- version : 2.1.2
38- virtualenvs-create : true
39- virtualenvs-in-project : false
40- virtualenvs-path : ~/.virtualenvs
41- installer-parallel : true
42- - name : Install dependencies
43- run : |
44- poetry install
45- poetry run pip install robotframework-browser robotframework-seleniumlibrary
46- poetry run rfbrowser init
47- npx playwright install-deps
48- if : steps.cache.outputs.cache-hit != 'true'
49- - name : Run tests
50- run : |
51- poetry run invoke tests
52- - name : Store Artifact
53- uses : actions/upload-artifact@v4
54- if : success() || failure()
55- with :
56- name : test-results ${{ matrix.python-version }} # Choose a descriptive name for your artifact
57- path : |
58- results/*.html
59- results/*.xml
60- results/*.prof
61- results/*.txt
62- - name : Test Report
63- uses : dorny/test-reporter@v2
64- if : success() || failure() # run this step even if previous step failed
65- with :
66- name : xUnit Tests ${{ matrix.python-version }} # Name of the check run which will be created
67- path : results/pytest.xml,results/xunit.xml # Path to test results
68- reporter : java-junit # Format of test results
33+ - uses : actions/checkout@v3
34+ - name : Set up Python ${{ matrix.python-version }}
35+ uses : actions/setup-python@v3
36+ with :
37+ python-version : ${{ matrix.python-version }}
38+ - name : Install and configure Poetry
39+ uses : snok/install-poetry@v1
40+ with :
41+ version : 2.1.2
42+ virtualenvs-create : true
43+ virtualenvs-in-project : false
44+ virtualenvs-path : ~/.virtualenvs
45+ installer-parallel : true
46+ - name : Install dependencies
47+ run : |
48+ poetry install
49+ poetry run pip install robotframework-browser robotframework-seleniumlibrary
50+ poetry run rfbrowser init
51+ npx playwright install-deps
52+ if : steps.cache.outputs.cache-hit != 'true'
53+ - name : Run tests
54+ run : |
55+ poetry run invoke tests
56+ - name : Store Artifact
57+ uses : actions/upload-artifact@v4
58+ if : success() || failure()
59+ with :
60+ name : test-results ${{ matrix.python-version }} # Choose a descriptive name for your artifact
61+ path : |
62+ results/*.html
63+ results/*.xml
64+ results/*.prof
65+ results/*.txt
66+ - name : Test Report
67+ uses : dorny/test-reporter@v2
68+ if : success() || failure() # run this step even if previous step failed
69+ with :
70+ name : xUnit Tests ${{ matrix.python-version }} # Name of the check run which will be created
71+ path : results/pytest.xml,results/xunit.xml # Path to test results
72+ reporter : java-junit # Format of test results
0 commit comments