Skip to content

0.2.19

0.2.19 #148

Workflow file for this run

name: Test SFLKit
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install -y python3-dev
pip install --upgrade pip
pip install -e .[test]
- name: Test with pytest
run: |
python3 -m pytest --html=report.html --self-contained-html --cov-report xml:coverage.xml --cov-report term --cov-config=.coveragerc --cov=sflkit tests/
python3 -m coverage lcov
- uses: actions/upload-artifact@v3
with:
name: Test Report
path: report.html
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov