Skip to content

Fixes #RHINENG-1793 - transform provider name 'google' to 'gcp' #130

Fixes #RHINENG-1793 - transform provider name 'google' to 'gcp'

Fixes #RHINENG-1793 - transform provider name 'google' to 'gcp' #130

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Lint:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install pipenv and all dependencies for Yuptoo
run: |
pip install pipenv
pipenv install --dev
- name: Lint with flake8
run: |
pipenv run flake8
Test:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install pipenv and all dependencies for Yuptoo
run: |
pip install pipenv
pipenv install --dev
- name: Install pytest-cov to produce coverage reports
run: |
pip install pytest-cov
- name: Test with pytest
run: |
pipenv run python -m pytest --cov=yuptoo tests
- name: Upload coverage to codecov
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
verbose: true
flags: unittests