<commit_before>name: CI
on:
  push:
    branches: [ dev ]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Set environment variables
      run: |
        export SAUCELABS_USERNAME=anyway
        export SAUCE_USERNAME=anyway
        export DATABASE_URL=postgresql://postgres@localhost/anyway
        echo "::set-env name=SAUCELABS_USERNAME::$SAUCELABS_USERNAME"
        echo "::set-env name=SAUCE_USERNAME::$SAUCE_USERNAME"
        echo "::set-env name=DATABASE_URL::$DATABASE_URL"
    - name: Set up Python
      uses: actions/setup-python@v1
      with:
        python-version: '3.7'
    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        pip install -r test_requirements.txt -r requirements.txt
    - name: Pylint
      run: |
        pylint anyway tests main.py
    - name: Running server
      run: |
        docker-compose -f docker-compose-test.yml up -d --build
    - name: DB initialization
      run: |
        ./main.py process registered-vehicles
        ./main.py process cbs
    - name: Tests
      run: |
        pytest tests -m "not browser"<commit_msg>fixing GitHub Action CI<commit_after>name: CI
on:
  push:
    branches: [ dev ]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Set environment variables
      run: |
        export SAUCELABS_USERNAME=anyway
        export SAUCE_USERNAME=anyway
        export DATABASE_URL=postgresql://postgres@localhost/anyway
        echo "::set-env name=SAUCELABS_USERNAME::$SAUCELABS_USERNAME"
        echo "::set-env name=SAUCE_USERNAME::$SAUCE_USERNAME"
        echo "::set-env name=DATABASE_URL::$DATABASE_URL"
    - name: Set up Python
      uses: actions/setup-python@v1
      with:
        python-version: '3.7'
    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        pip install -r test_requirements.txt -r requirements.txt
    - name: Pylint
      run: |
        pylint anyway tests main.py
    - name: Running server
      run: |
        docker-compose -f docker-compose-test.yml up -d --build
    - name: DB initialization
      run: |
        docker-compose exec anyway ./main.py process registered-vehicles
        docker-compose exec anyway ./main.py process cbs
    - name: Tests
      run: |
        pytest tests -m "not browser"
{'fraction_non_alphanumeric': 0.0982367758186398, 'fraction_numerical': 0.0033585222502099076, 'mean_word_length': 2.2465940054495914, 'pattern_counts': {'":': 6, '<': 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': '485537', 'n_tokens_mistral': 787, 'n_tokens_neox': 776, 'n_words': 194}