<commit_before>name: CI
on:
  push:
    branches:
      - main 
  pull_request:
    branches:
      - main 
      - develop
jobs:
  checks:
    name: Scalafmt and Scalafix
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: coursier/setup-action@v1
      - run: sbtn "scalafixAll --check"
      - run: ./bin/scalafmt --test
  unit:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Scaladex
        uses: actions/checkout@v2
        with:
          path: scaladex
      - name: Checkout Scaladex small index
        uses: actions/checkout@v2
        with:
          repository: scalacenter/scaladex-small-index
          path: scaladex-small-index
      - name: Checkout Scaladex contrib 
        uses: actions/checkout@v2
        with:
          repository: scalacenter/scaladex-contrib
          path: scaladex-contrib
      - uses: coursier/setup-action@v1
        with:
          jvm: "adopt:1.8"
      - uses: coursier/cache-action@v5
      - name: Unit tests
        run: |
          cd scaladex
          sbtn test
        shell: bash
      - name: Package server
        run: |
          cd scaladex
          sbtn server/universal:packageBin
        shell: bash
  # integration:
  #   runs-on: ubuntu-latest
  #   steps:
  #     - name: Checkout Scaladex
  #       uses: actions/checkout@v2
  #       with:
  #         path: scaladex
  #     - name: Checkout small index
  #       uses: actions/checkout@v2
  #       with:
  #         repository: scalacenter/scaladex-small-index
  #         path: scaladex-small-index
  #     - name: Checkout Scaladex contrib
  #       uses: actions/checkout@v2
  #       with:
  #         repository: scalacenter/scaladex-contrib
  #         path: scaladex-contrib
  #     - uses: coursier/setup-action@v1
  #       with:
  #         jvm: "adopt:1.8"
  #     - uses: coursier/cache-action@v5
  #     - name: Integration tests
  #       working-directory: scaladex
  #       env:
  #         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  #       run: sbtn 'IntegrationTest / test'<commit_msg>Enable GithubClientTests<commit_after>name: CI
on:
  push:
    branches:
      - main 
  pull_request:
    branches:
      - main 
      - develop
jobs:
  checks:
    name: Scalafmt and Scalafix
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: coursier/setup-action@v1
      - run: sbtn "scalafixAll --check"
      - run: ./bin/scalafmt --test
  unit:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Scaladex
        uses: actions/checkout@v2
        with:
          path: scaladex
      - name: Checkout Scaladex small index
        uses: actions/checkout@v2
        with:
          repository: scalacenter/scaladex-small-index
          path: scaladex-small-index
      - name: Checkout Scaladex contrib 
        uses: actions/checkout@v2
        with:
          repository: scalacenter/scaladex-contrib
          path: scaladex-contrib
      - uses: coursier/setup-action@v1
        with:
          jvm: "adopt:1.8"
      - uses: coursier/cache-action@v5
      - name: Unit tests
        run: |
          cd scaladex
          sbtn test
        shell: bash
      - name: Package server
        run: |
          cd scaladex
          sbtn server/universal:packageBin
        shell: bash
  integration:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Scaladex
        uses: actions/checkout@v2
        with:
          path: scaladex
      - name: Checkout small index
        uses: actions/checkout@v2
        with:
          repository: scalacenter/scaladex-small-index
          path: scaladex-small-index
      - name: Checkout Scaladex contrib
        uses: actions/checkout@v2
        with:
          repository: scalacenter/scaladex-contrib
          path: scaladex-contrib
      - uses: coursier/setup-action@v1
        with:
          jvm: "adopt:1.8"
      - uses: coursier/cache-action@v5
      - name: Integration tests
        working-directory: scaladex
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        run: sbtn 'infra / IntegrationTest / test'
{'fraction_non_alphanumeric': 0.09042424242424242, 'fraction_numerical': 0.007757575757575757, 'mean_word_length': 1.702030124426981, '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': '778194', 'n_tokens_mistral': 1349, 'n_tokens_neox': 1334, 'n_words': 291}