Skip to content

Pipeline run by @iplitharas #3

Pipeline run by @iplitharas

Pipeline run by @iplitharas #3

Workflow file for this run

name: Test Project Template
run-name: Pipeline run by @${{ github.actor }}
on:
workflow_call:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.6.1
- name: Set Poetry config
run: |
poetry config virtualenvs.create false
- name: Install dependencies
run: |
poetry install
- name: Code Quality
run: |
make check
- name: Run test cases
run: |
make test
- name: Upload coverage reports
id: upload
uses: actions/upload-artifact@v2
with:
name: coverage-reports
path: |
coverage.xml
htmlcov/