<commit_before>---
name: test_win

# only run this job when this job itself is modified
on:
  push:
    paths:
      - ".github/workflows/test_win.yaml"
    branches:
      - "**"

jobs:
  test_win:
    runs-on: [windows-latest]
    steps:
      - name: Test run bash command
        # `shell: bash` requires WSL on a windows runner
        shell: bash
        run: |
          echo "Hellow World! Bash"
      - name: test default shell command
        # default shell for windows is PowerShell
        # this requires local script execution to be enabled
        # `Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine`
        run: |
          echo "Hello World! PowerShell" > test.txt
          cat test.txt
      - name: test CMD command
        shell: cmd
        run: |
          echo "Hello World! CMD" > test.txt
          type test.txt
      # - name: checkout git repo
      #   uses: actions/checkout@v3
      - name: get user name
        # net user $env:USERNAME | findstr "Local Group Memberships"
        # https://docs.microsoft.com/en-us/windows/win32/services/localservice-account
        # https://github.com/shivammathur/setup-php/wiki/Requirements-for-self-hosted-runners
        run: |
          echo $env:USERNAME
      - name: find file x86
        # https://stackoverflow.com/questions/8677628/recursive-file-search-using-powershell
        run: Get-ChildItem -Path "C:/Program Files (x86)/Windows Kits" -Filter signtool.exe -Recurse -ErrorAction SilentlyContinue -Force
      - name: find file x64
        # https://stackoverflow.com/questions/8677628/recursive-file-search-using-powershell
        run: Get-ChildItem -Path "C:/Program Files/Windows Kits" -Filter signtool.exe -Recurse -ErrorAction SilentlyContinue -Force<commit_msg>remove unneeded find<commit_after>---
name: test_win

# only run this job when this job itself is modified
on:
  push:
    paths:
      - ".github/workflows/test_win.yaml"
    branches:
      - "**"

jobs:
  test_win:
    runs-on: [windows-latest]
    steps:
      - name: Test run bash command
        # `shell: bash` requires WSL on a windows runner
        shell: bash
        run: |
          echo "Hellow World! Bash"
      - name: test default shell command
        # default shell for windows is PowerShell
        # this requires local script execution to be enabled
        # `Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine`
        run: |
          echo "Hello World! PowerShell" > test.txt
          cat test.txt
      - name: test CMD command
        shell: cmd
        run: |
          echo "Hello World! CMD" > test.txt
          type test.txt
      # - name: checkout git repo
      #   uses: actions/checkout@v3
      - name: get user name
        # net user $env:USERNAME | findstr "Local Group Memberships"
        # https://docs.microsoft.com/en-us/windows/win32/services/localservice-account
        # https://github.com/shivammathur/setup-php/wiki/Requirements-for-self-hosted-runners
        run: |
          echo $env:USERNAME
      - name: find file x86
        # https://stackoverflow.com/questions/8677628/recursive-file-search-using-powershell
        run: Get-ChildItem -Path "C:/Program Files (x86)/Windows Kits" -Filter signtool.exe -Recurse -ErrorAction SilentlyContinue -Force

{'fraction_non_alphanumeric': 0.09761257177394983, 'fraction_numerical': 0.01118162586884255, 'mean_word_length': 2.229268292682927, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 7, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4799349', 'n_tokens_mistral': 1026, 'n_tokens_neox': 970, 'n_words': 276}