Skip to content

i added tekton task for cleanup and unit test #3

i added tekton task for cleanup and unit test

i added tekton task for cleanup and unit test #3

Workflow file for this run

name: CI Workflow
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
container: python:3.9-slim
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependecies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Lint with flake8
run: |
flake8 service --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 service --count --max-complexity=10 --max-line-length=127 --statistics
- name: Run unit test with pytest
run: python -m pytest