<commit_before>name: go

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        go: [ 
          '1.14', 
          # '1.3',
          # '1.11', 
          # '1.15', 
          # '1.12' 
        ]

    name: Go ${{ matrix.go }} sample
    steps:
      - uses: actions/checkout@v2

      - name: Setup go
        uses: actions/setup-go@v2
        with:
          go-version: ${{ matrix.go }}
      
      - name: Install
        run: |
          go mod init emartech/escher-go
          go list -f '{{range .Imports}}{{.}} {{end}}' ./... | xargs go get -v
          go list -f '{{range .TestImports}}{{.}} {{end}}' ./... | xargs go get -v
          go get golang.org/x/tools/cmd/cover
          go build ./...
        env:
          GOPATH: /home/runner/work/go
      - name: Test
        run: go test -v -cover ./...<commit_msg>testing<commit_after>name: go

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        go: [ 
          '1.14', 
          # '1.3',
          # '1.11', 
          # '1.15', 
          # '1.12' 
        ]

    name: Go ${{ matrix.go }} sample
    steps:
      - uses: actions/checkout@v2

      - name: Setup go
        uses: actions/setup-go@v2
        with:
          go-version: ${{ matrix.go }}
      
      - name: Install
        run: |
          
          go list -f '{{range .Imports}}{{.}} {{end}}' ./... | xargs go get -v
          go list -f '{{range .TestImports}}{{.}} {{end}}' ./... | xargs go get -v
          go get golang.org/x/tools/cmd/cover
          go build ./...
        env:
          GOPATH: /home/runner/work/go
      - name: Test
        run: |
          go mod init emartech/escher-go
          go test -v -cover ./...
{'fraction_non_alphanumeric': 0.1635588705380927, 'fraction_numerical': 0.017048481619605753, 'mean_word_length': 1.217237308146399, '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': '3065864', 'n_tokens_mistral': 668, 'n_tokens_neox': 635, 'n_words': 156}