Skip to content

Commit d382760

Browse files
committed
Add GitHub workflow tests
1 parent f034a08 commit d382760

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/tests.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
tests:
7+
strategy:
8+
fail-fast: false
9+
matrix:
10+
os:
11+
- macos-14
12+
- macos-15
13+
- ubuntu-20.04
14+
- ubuntu-22.04
15+
- ubuntu-24.04
16+
17+
name: ${{ matrix.os }}
18+
runs-on: ${{ matrix.os }}
19+
20+
steps:
21+
- name: Install bash from homebrew
22+
if: ${{ startsWith(matrix.os, 'macos-') }}
23+
run: brew install bash
24+
25+
- name: Checkout code
26+
uses: actions/checkout@v4
27+
28+
- name: Install reconFTW
29+
shell: bash
30+
continue-on-error: true
31+
run: ./install.sh
32+
33+
- name: Check if all tools are installed
34+
shell: bash
35+
run: ./reconftw.sh --check-tools
36+
37+
- name: Check if chromium dependencies are installed
38+
shell: bash
39+
run: nuclei -headless -id screenshot

0 commit comments

Comments
 (0)