-
-
Notifications
You must be signed in to change notification settings - Fork 19
32 lines (27 loc) · 1 KB
/
test_on_domains.yml
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
name: Domain Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test-domains:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo apt-get install -f -y
- name: Run Test over domains
run: |
curl -qfsSL "https://raw.githubusercontent.com/Azathothas/CertStream-Domains/main/Data/np_ccTLDs/certstream_domains_np_all_24h_httpx.txt" | awk '{print $1}' | grep -i 'http' | sort -u | cargo r --release -- -b "$(which google-chrome)" --stdin --timeout 300
- name: Count files in hxnshots
run: |
num_files=$(ls -1q hxnshots | wc -l)
echo "Number of files in hxnshots: $num_files"
- name: Calculate directory size
run: |
size=$(du -sh hxnshots | awk '{print $1}')
echo "Size of the directory: $size"