Skip to content

Commit 76630ea

Browse files
committed
fix workflow & unittest
1 parent d3e7e98 commit 76630ea

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/docker-images.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: Build and Push Docker Image
22

33
on:
4+
workflow_run:
5+
workflows:
6+
- "Pylint Check"
7+
- "Run Unit Tests"
8+
types:
9+
- completed
410
push:
511
branches:
612
- main

tests/test_filter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def test_filter_process(self):
6161
):
6262
process = multiprocessing.Process(
6363
target=filter_process,
64-
args=(queue, result_queue, "blocked_sites.txt", "blocked_urls.txt")
64+
args=(queue, result_queue, "local", "blocked_sites.txt", "blocked_urls.txt")
6565
)
6666
process.start()
6767

0 commit comments

Comments
 (0)