<commit_before>name: go test
on:
  workflow_dispatch:
  push:
    branches:
      - master
jobs:
  build:
    strategy:
      matrix:
        os: [ubuntu-latest,  windows-latest, macos-latest]
    steps:
      runs-on: ${{ matrix.os }}
      env:
        COVERALLS_PARALLEL: true
      call-workflow:
        uses: djherbis/actions/.github/workflows/go-test.yml@main
  buildjs:
    runs-on: ubuntu-latest
    env:
      COVERALLS_PARALLEL: true
      GOOS: js
      GOARCH: warm
      GO111MODULE: auto
    - uses: actions/checkout@v2
    - uses: actions/setup-go@v2
      with:
        go-version: '1.17.x'
    - run: go test -covermode=count -coverprofile=profile.cov -exec="$(go env GOROOT)/misc/wasm/go_js_wasm_exec"
    - name: Send coverage
      env:
        COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      run: |
        go install github.com/mattn/goveralls@latest
        goveralls -coverprofile=covprofile -service=github
      if: github.event_name != 'pull_request'<commit_msg>github action take 3<commit_after>name: go test
on:
  workflow_dispatch:
  push:
    branches:
      - master
jobs:
  build:
    strategy:
      matrix:
        os: [ubuntu-latest,  windows-latest, macos-latest]
    steps:
      runs-on: ${{ matrix.os }}
      env:
        COVERALLS_PARALLEL: true
      call-workflow:
        uses: djherbis/actions/.github/workflows/go-test.yml@main
  buildjs:
    runs-on: ubuntu-latest
    env:
      COVERALLS_PARALLEL: true
      GOOS: js
      GOARCH: warm
      GO111MODULE: auto
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-go@v2
        with:
          go-version: '1.17.x'
      - run: go test -covermode=count -coverprofile=profile.cov -exec="$(go env GOROOT)/misc/wasm/go_js_wasm_exec"
      - name: Send coverage
        env:
          COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        run: |
          go install github.com/mattn/goveralls@latest
          goveralls -coverprofile=covprofile -service=github
        if: github.event_name != 'pull_request'
{'fraction_non_alphanumeric': 0.10996055226824458, 'fraction_numerical': 0.008382642998027613, 'mean_word_length': 2.2360446570972887, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1052601', 'n_tokens_mistral': 731, 'n_tokens_neox': 713, 'n_words': 139}