<commit_before>name: oct2py

on:
  push:
    branches: [main]
  pull_request:
  schedule:
    # Run weekly
    # * is a special character in YAML so you have to quote this string
    - cron: "0 0 * * 0"

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [3.8, 3.9, "3.10", "3.11"]
      fail-fast: false

    steps:
      - uses: actions/checkout@v2
      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
      - name: Install Octave
        run: |
          sudo apt-get update
          sudo apt-get install -qq octave octave-signal liboctave-dev
      - name: Generate coverage report
        run: |
          pip install hatch; xvfb-run --auto-servernum hatch run cover:test
      - name: Upload coverage to Codecov
        uses: codecov/codecov-action@v1
        with:
          token: ${{ secrets.CODECOV_TOKEN }}
          file: ./coverage.xml
          flags: unittests
          name: codecov-umbrella
          fail_ci_if_error: true

  check_release:
    runs-on: ubuntu-latest<commit_msg>Bump codecov/codecov-action from 1 to 3 (#272)<commit_after>name: oct2py

on:
  push:
    branches: [main]
  pull_request:
  schedule:
    # Run weekly
    # * is a special character in YAML so you have to quote this string
    - cron: "0 0 * * 0"

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [3.8, 3.9, "3.10", "3.11"]
      fail-fast: false

    steps:
      - uses: actions/checkout@v2
      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
      - name: Install Octave
        run: |
          sudo apt-get update
          sudo apt-get install -qq octave octave-signal liboctave-dev
      - name: Generate coverage report
        run: |
          pip install hatch; xvfb-run --auto-servernum hatch run cover:test
      - name: Upload coverage to Codecov
        uses: codecov/codecov-action@v3
        with:
          token: ${{ secrets.CODECOV_TOKEN }}
          file: ./coverage.xml
          flags: unittests
          name: codecov-umbrella
          fail_ci_if_error: true

  check_release:
    runs-on: ubuntu-latest
{'fraction_non_alphanumeric': 0.0988399071925754, 'fraction_numerical': 0.018097447795823667, 'mean_word_length': 1.9986091794158554, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '91594', 'n_tokens_mistral': 741, 'n_tokens_neox': 704, 'n_words': 191}