<commit_before>name: "Integration Tests"

on: [push]

jobs:
  ubuntu-job:
    name: "BrowserStack Test on Ubuntu"
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: "BrowserStack Env Setup"
        uses: "browserstack/github-actions/setup-env@master"
        with:
          username:  ${{ secrets.BROWSERSTACK_USERNAME }}
          access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
          build-name: BUILD_INFO
          project-name: REPO_NAME
      - name: "BrowserStackLocal Setup"
        uses: "browserstack/github-actions/setup-local@master"
        with:
          local-testing: start
          local-identifier: random
      - name: "Node Setup"
        uses: "actions/setup-node@v1"
        with:
          node-version: "12.x"
      - run: npm install
      - run: npm run development & npm run test:integration
      - name: "BrowserStackLocal Stop"
        uses: "browserstack/github-actions/setup-local@master"
        with:
          local-testing: stop
    env:
      CI: true
      HOST: "bt-local.com"<commit_msg>Update hosts file<commit_after>name: "Integration Tests"

on: [push]

jobs:
  ubuntu-job:
    name: "BrowserStack Test on Ubuntu"
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: "BrowserStack Env Setup"
        uses: "browserstack/github-actions/setup-env@master"
        with:
          username:  ${{ secrets.BROWSERSTACK_USERNAME }}
          access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
          build-name: BUILD_INFO
          project-name: REPO_NAME
      - name: "BrowserStackLocal Setup"
        uses: "browserstack/github-actions/setup-local@master"
        with:
          local-testing: start
          local-identifier: random
      - name: "Node Setup"
        uses: "actions/setup-node@v1"
        with:
          node-version: "12.x"
      - run: npm install
      - run: sudo echo "172.16.18.16 bs-local.com" | sudo tee -a /etc/hosts
      - run: npm run development & npm run test:integration
      - name: "BrowserStackLocal Stop"
        uses: "browserstack/github-actions/setup-local@master"
        with:
          local-testing: stop
    env:
      CI: true
      HOST: "bt-local.com"
{'fraction_non_alphanumeric': 0.11016187050359712, 'fraction_numerical': 0.007643884892086331, 'mean_word_length': 2.1382228490832156, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '1548735', 'n_tokens_mistral': 727, 'n_tokens_neox': 682, 'n_words': 156}