Skip to content

Upgrade CI build platforms. #76

Upgrade CI build platforms.

Upgrade CI build platforms. #76

Workflow file for this run

name: Test Ubuntu
on:
push:
branches: [ develop, master ]
pull_request:
branches: [ develop, master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', 'pypy-3.8', 'pypy-3.9']
steps:
- uses: actions/checkout@v4
- name: setup
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: prerequisites
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest pytest-asyncio mock flake8 pyyaml codecov pytest-cov
- name: lint
run: |
flake8 src/faber tests
- name: test
run: |
export PYTHONPATH=`pwd`/src
python -m faber.cli --info=tools cxx
pytest --cov=./src --compiler=native -vs
- name: coverage
run: |
codecov