Skip to content

Commit

Permalink
chore(tests): use long timeout // redirect msgs while installing deps
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnwriter committed Nov 3, 2023
1 parent 4717886 commit 09b50f7
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/test_on_domains.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Domain Tests
name: Test over new domains

on:
push:
Expand All @@ -15,12 +15,16 @@ jobs:
- 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
wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb > /dev/null
sudo dpkg -i google-chrome-stable_current_amd64.deb > /dev/null
sudo apt-get install -f -y > /dev/null
- name: install hxn
run: |
cargo build --release
mv -iv target/release/hxn /usr/local/bin/hxn
- 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
curl -sSL "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 | hxn -b "$(which google-chrome)" --stdin --timeout 1000
- name: Count files in hxnshots
run: |
num_files=$(ls -1q hxnshots | wc -l)
Expand All @@ -29,4 +33,3 @@ jobs:
run: |
size=$(du -sh hxnshots | awk '{print $1}')
echo "Size of the directory: $size"

0 comments on commit 09b50f7

Please sign in to comment.