Skip to content

Split main and add test #18

Split main and add test

Split main and add test #18

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: |
pip install .[dev]
- name: Test
run: coverage run -m pytest tests
- name: Generate coverage report
run: coverage report
# - name: Coveralls Services
# run: coveralls --service=github
# env:
# GITHUB_TOKEN: ${{ secrets.github_token }}
# COVERALLS_FLAG_NAME: python-${{ matrix.version }}
# COVERALLS_PARALLEL: true
# finish:
# needs: build
# runs-on: ubuntu-latest
# steps:
# - name: Coveralls Finished
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.github_token }}
# parallel-finished: true