-
Notifications
You must be signed in to change notification settings - Fork 47
41 lines (38 loc) · 942 Bytes
/
Copy pathselenium_demo.yml
File metadata and controls
41 lines (38 loc) · 942 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Selenium Demo Tests
on:
push:
branches:
- main
paths:
- 'examples/selenium/**'
- '.github/workflows/selenium_demo.yml'
pull_request:
branches:
- main
paths:
- 'examples/selenium/**'
- '.github/workflows/selenium_demo.yml'
schedule:
- cron: "0 9 * * *"
jobs:
python-tests:
name: Tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: examples/selenium
steps:
- uses: actions/checkout@v7
- name: Setup Python
uses: actions/setup-python@v7
with:
python-version: 3.14
- name: Install pipenv
uses: dschep/install-pipenv-action@v1
- name: Install dependencies
run: pipenv install
- name: Run demo tests
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
run: pipenv run demo