@@ -244,58 +244,3 @@ jobs:
244244 with :
245245 user : __token__
246246 password : ${{ secrets.PYPI_API_TOKEN }}
247-
248- testrail-reporting-nightly :
249- runs-on : ${{ matrix.os }}
250- if : ${{ github.event_name == 'schedule' || startsWith(github.head_ref, 'testrail') }}
251- strategy :
252- matrix :
253- python-version :
254- - " 3.12"
255- - " 3.11"
256- - " 3.10"
257- - " 3.9"
258- # - "3.8" # Testrail has errors when running on python 3.8; Skipping
259- os : [ubuntu-latest]
260- fail-fast : false
261-
262- steps :
263- - uses : actions/checkout@v4
264- - name : Setup py-shiny
265- uses : ./.github/py-shiny/setup
266- with :
267- python-version : ${{ matrix.python-version }}
268-
269- - name : Install node.js
270- uses : actions/setup-node@v4
271- with :
272- node-version : " 18"
273- cache : npm
274- cache-dependency-path : examples/brownian/shinymediapipe/package-lock.json
275- - name : Install node.js package
276- working-directory : examples/brownian/shinymediapipe
277- run : |
278- npm ci
279-
280- - name : Run End-to-End tests
281- timeout-minutes : 20
282- run : |
283- make testrail-junit
284- - name : Report results to Testrail
285- env :
286- TESTRAIL_URL : " https://posit.testrail.io"
287- TESTRAIL_PROJECT : " Shiny-Python"
288- TESTRAIL_USER : " ${{ secrets.TESTRAIL_USER }}"
289- TESTRAIL_PASSWORD : " ${{ secrets.TESTRAIL_PASSWORD }}"
290- run : |
291- CURRENT_DATE="$(date +'%Y-%m-%d %H:%M:%S') Nightly tests"
292- trcli \
293- --yes \
294- --host "$TESTRAIL_URL" \
295- --project "$TESTRAIL_PROJECT" \
296- --username "$TESTRAIL_USER" \
297- --password "$TESTRAIL_PASSWORD" \
298- parse_junit \
299- --file "report.xml" \
300- --title "$CURRENT_DATE" \
301- --close-run
0 commit comments