<commit_before>name: CI

on:
  push:
  pull_request:

jobs:
  test:
    runs-on: macos-11.0

    steps:
      - uses: actions/checkout@v2
      - name: Prepare environment
        run: ./scripts/github-ci-pre.sh
      - name: Build for testing
        run: ./scripts/github-ci-testbuild.sh
      - name: Run tests
        id: test
        run: ./scripts/github-ci-test.sh
      - name: Upload test coverage
        uses: codecov/codecov-action@v1
        with:
          verbose: true
        if: ${{ always() }}
      - name: IRC notification - push
        uses: rectalogic/notify-irc@v1
        if: github.event_name == 'push'
        with:
          channel: '#hammerspoon'
          nickname: 'HSGHA'
          message: |
            ${{ github.actor }} pushed ${{ github.event.ref }} ${{ github.event.compare }} - Tests: ${{ steps.test.outputs.test_result }}
      - name: IRC notification - PR
        uses: rectalogic/notify-irc@v1
        if: github.event_name == 'pull_request'
        with:
          channel: '#hammerspoon'
          nickname: 'HSGHA'
          message: |
            ${{ github.actor }} pushed to PR ${{ github.event.html_url }} - Tests: ${{ steps.test.outputs.test_result }}
<commit_msg>Try to make IRC notifications more reliable<commit_after>name: CI

on:
  push:
  pull_request:

jobs:
  test:
    runs-on: macos-11.0

    steps:
      - uses: actions/checkout@v2
      - name: Prepare environment
        run: ./scripts/github-ci-pre.sh
      - name: Build for testing
        run: ./scripts/github-ci-testbuild.sh
      - name: Run tests
        id: test
        run: ./scripts/github-ci-test.sh
      - name: Upload test coverage
        uses: codecov/codecov-action@v1
        with:
          verbose: true
        if: ${{ always() }}
      - name: IRC notification - push
        uses: rectalogic/notify-irc@v1
        if: ${{ always() && github.event_name == 'push' }}
        with:
          channel: '#hammerspoon'
          nickname: 'HSGHA'
          message: |
            ${{ github.actor }} pushed ${{ github.event.ref }} ${{ github.event.compare }} - Tests: ${{ steps.test.outputs.test_result }}
      - name: IRC notification - PR
        uses: rectalogic/notify-irc@v1
        if: ${{ always() && github.event_name == 'pull_request' }}
        with:
          channel: '#hammerspoon'
          nickname: 'HSGHA'
          message: |
            ${{ github.actor }} pushed to PR ${{ github.event.html_url }} - Tests: ${{ steps.test.outputs.test_result }}

{'fraction_non_alphanumeric': 0.13578274760383385, 'fraction_numerical': 0.005591054313099041, 'mean_word_length': 1.8826237054085155, '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': '7568917', 'n_tokens_mistral': 817, 'n_tokens_neox': 766, 'n_words': 176}