Skip to content

Fix/failing tests

Fix/failing tests #64

Workflow file for this run

name: blask Build
on:
pull_request:
branches:
- master
- githubactions
- develop
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Clone repo
uses: actions/checkout@v2
- name: Setup python 3.7
uses: actions/setup-python@v2
with:
python-version: '3.7' # Version range or exact version of a Python version to use, using SemVer's version range syntax
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
- name: Setup sonarqube
uses: warchant/setup-sonar-scanner@v3
- name: pip install
run : |
pip install pipenv
pipenv install importlib-metadata
pipenv install python-dotenv
pipenv install --dev
- name: Code coverage
run : pipenv run test
- name: Coveralls GitHub Action
run: pipenv run coveralls --service=github
- name: PyLint
run : pipenv run linter
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
SONAR_TOKEN: ${{ secrets.BLASK_TOKEN }}