<commit_before>name: Flex Otel Collector Tests
on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Set up Go
        uses: actions/setup-go@v3
        with:
          go-version: 1.17
    - name: golangci-lint
      uses: golangci/golangci-lint-action@v2
      working-directory: opentelemetry_collector
  vet:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - name: Set up Go
      uses: actions/setup-go@v3
      with:
        go-version: 1.17
    - name: Vet
      working-directory: opentelemetry_collector
      run: go vet -v ./...
  test:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - name: Set up Go
      uses: actions/setup-go@v3
      with:
        go-version: 1.17
    - name: Test
      working-directory: opentelemetry_collector
      run: go test -v ./...<commit_msg>Address github workflow config errors (#184)<commit_after>name: Flex Otel Collector Tests
on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Set up Go
      uses: actions/setup-go@v3
      with:
        go-version: 1.17
    - name: golangci-lint
      uses: golangci/golangci-lint-action@v2
      with:
        working-directory: opentelemetry_collector
  vet:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - name: Set up Go
      uses: actions/setup-go@v3
      with:
        go-version: 1.17
    - name: Vet
      working-directory: opentelemetry_collector
      run: go vet -v ./...
  test:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - name: Set up Go
      uses: actions/setup-go@v3
      with:
        go-version: 1.17
    - name: Test
      working-directory: opentelemetry_collector
      run: go test --covermode=count -v ./...
{'fraction_non_alphanumeric': 0.1080669710806697, 'fraction_numerical': 0.017757483510908167, 'mean_word_length': 1.9878787878787878, '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': '4662101', 'n_tokens_mistral': 720, 'n_tokens_neox': 689, 'n_words': 167}