Skip to content

Commit

Permalink
Create test_actions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
valevo authored Jun 24, 2024
1 parent bf1a08e commit dfb2ba8
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions scripts/test_actions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
from tqdm import tqdm
import os
from glob import glob
import yaml
import json
import re

BASE_DIR = "."
OUT_DIR = f"{BASE_DIR}/forKinsukAndSjors"



eng = glob(f"{BASE_DIR}/*/English/*.yml")
dutch = glob(f"{BASE_DIR}/*/Dutch/*.yml")
top = glob(f"{BASE_DIR}/TopLevel/*.yml")

yaml_files = top + dutch + eng

with open(f"{OUT_DIR}/action_results.txt", "w") as handle:
handle.write(str(yaml_files))

0 comments on commit dfb2ba8

Please sign in to comment.