Skip to content

Commit ae49bf2

Browse files
committed
Add the GitHub Workflows ReadMe
1 parent 4da5073 commit ae49bf2

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
### Running browser-based test automation with [GitHub Workflows](https://github.com/seleniumbase/SeleniumBase/actions) by using [SeleniumBase](https://github.com/seleniumbase/SeleniumBase)
2+
3+
----------
4+
5+
### Step 0. Create a fork of [SeleniumBase](https://github.com/seleniumbase/SeleniumBase) on GitHub to help you get started.
6+
7+
* **(You'll be using your own repo eventually.)**
8+
9+
![](https://cdn2.hubspot.net/hubfs/100006/images/github_workflows_2.png "Create a fork of SeleniumBase")
10+
11+
----------
12+
13+
### Step 1. From the GitHub Actions tab, choose to set up a Python package Workflow.
14+
15+
![](https://cdn2.hubspot.net/hubfs/100006/images/github_workflows_1.png "GitHub Actions/Workflows")
16+
17+
----------
18+
19+
### Step 2. Add your workflow ``.yml`` script.
20+
21+
* **(If using a SeleniumBase fork, the script from https://github.com/seleniumbase/SeleniumBase/blob/master/.github/workflows/python-package.yml should already exist to guide you.)**
22+
23+
![](https://cdn2.hubspot.net/hubfs/100006/images/github_workflows_3.png "GitHub Actions/Workflows")
24+
25+
### Step 3. Commit your file if it doesn't already exist.
26+
27+
![](https://cdn2.hubspot.net/hubfs/100006/images/github_workflows_4.png "GitHub Actions/Workflows")
28+
29+
----------
30+
31+
### Step 4. Your tests will now run on every pull request and on every commit to the ``master`` branch.
32+
33+
* **(See https://github.com/seleniumbase/SeleniumBase/actions for the SeleniumBase example.)**
34+
35+
![](https://cdn2.hubspot.net/hubfs/100006/images/github_workflows_5.png "GitHub Actions/Workflows")
36+
37+
* **(You can click inside each run for more details.)**
38+
39+
![](https://cdn2.hubspot.net/hubfs/100006/images/github_workflows_6.png "GitHub Actions/Workflows")
40+
41+
* **(You can also see the specific steps being performed by each command.)**
42+
43+
![](https://cdn2.hubspot.net/hubfs/100006/images/github_workflows_7.png "GitHub Actions/Workflows")
44+
45+
----------
46+
47+
### Step 5. Congratulations! You now know how to create and run browser tests with GitHub Workflows!
48+
49+
### **Study [SeleniumBase](https://github.com/seleniumbase/SeleniumBase) to learn more!**

0 commit comments

Comments
 (0)