You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You'll be prompted for your password. After simply do`htmltest` to run.
26
+
You'll be prompted for your password. Afterwards simply type`htmltest` to run.
27
27
28
28
#### Into Current Directory
29
29
@@ -55,6 +55,28 @@ Mount your directory with html files into the container and test them.
55
55
If you need more arguments to the test run it like this:
56
56
```docker run -v $(pwd):/test --rm wjdp/htmltest -l 3 -s```
57
57
58
+
### :octocat: GitHub Action
59
+
60
+
You can make use of [`htmltest-action`](https://github.com/wjdp/htmltest-action) to run `htmltest` as part of your GitHub Actions workflow.
61
+
62
+
1. Either by providing a path:
63
+
64
+
```yaml
65
+
- name: Run htmltest
66
+
uses: wjdp/htmltest-action@master
67
+
with:
68
+
path: dist
69
+
```
70
+
71
+
2. Or by pointing a configuration file:
72
+
73
+
```yaml
74
+
- name: Run htmltest
75
+
uses: wjdp/htmltest-action@master
76
+
with:
77
+
config: .htmltest.yml
78
+
```
79
+
58
80
### 🧾 Temporary Files
59
81
60
82
We store temporary files in `tmp/.htmltest` by default. This contains a log of output and a cache of external links, speeding up subsequent runs. You probably want to ignore it in version control, and perhaps cache it in your CI system.
0 commit comments