Skip to content

add fix in

add fix in #3211

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-22.04
timeout-minutes: 60
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Make Init
run: |
make init
- name: Lint
run: make lint
- name: Test
run: make test
- name: Coverage
run: make coverage
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: always() # always run even if the previous step fails
with:
report_paths: '.junitxml/*.xml'
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3
with:
verbose: true