<commit_before>name: Build and test

on:
  push:
    branches:
      - master
  pull_request:

jobs:
  build_and_test:
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, windows-latest, macos-latest]
        rust: [nightly, beta, stable, 1.42.0]
    steps:
      - uses: actions/checkout@v2

      - name: Set current week of the year in environnement
        if: startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macOS')
        run: echo "::set-env name=CURRENT_WEEK::$(date +%V)"

      - name: Set current week of the year in environnement
        if: startsWith(matrix.os, 'windows')
        run: echo "::set-env name=CURRENT_WEEK::$(Get-Date -UFormat %V)"

      - name: Install latest ${{ matrix.rust }}
        uses: actions-rs/toolchain@v1
        with:
            toolchain: ${{ matrix.rust }}
            profile: minimal
            override: true

      - name: Run cargo check
        uses: actions-rs/cargo@v1
        with:
          command: check
          args: --all --bins --examples --tests --all-features

      - name: Run cargo check (without dev-dependencies to catch missing feature flags)
        if: startsWith(matrix.rust, 'nightly')
        uses: actions-rs/cargo@v1
        with:
          command: check
          args: -Z features=dev_dep

      - name: Run cargo test
        uses: actions-rs/cargo@v1
        with:
          command: test
<commit_msg>update MSRV for bitvec<commit_after>name: Build and test

on:
  push:
    branches:
      - master
  pull_request:

jobs:
  build_and_test:
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, windows-latest, macos-latest]
        rust: [nightly, beta, stable, 1.43.0]
    steps:
      - uses: actions/checkout@v2

      - name: Set current week of the year in environnement
        if: startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macOS')
        run: echo "::set-env name=CURRENT_WEEK::$(date +%V)"

      - name: Set current week of the year in environnement
        if: startsWith(matrix.os, 'windows')
        run: echo "::set-env name=CURRENT_WEEK::$(Get-Date -UFormat %V)"

      - name: Install latest ${{ matrix.rust }}
        uses: actions-rs/toolchain@v1
        with:
            toolchain: ${{ matrix.rust }}
            profile: minimal
            override: true

      - name: Run cargo check
        uses: actions-rs/cargo@v1
        with:
          command: check
          args: --all --bins --examples --tests --all-features

      - name: Run cargo check (without dev-dependencies to catch missing feature flags)
        if: startsWith(matrix.rust, 'nightly')
        uses: actions-rs/cargo@v1
        with:
          command: check
          args: -Z features=dev_dep

      - name: Run cargo test
        uses: actions-rs/cargo@v1
        with:
          command: test

{'fraction_non_alphanumeric': 0.11663807890222985, 'fraction_numerical': 0.0061749571183533445, 'mean_word_length': 2.0, 'pattern_counts': {'":': 4, '<': 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': '2960984', 'n_tokens_mistral': 920, 'n_tokens_neox': 888, 'n_words': 253}