Skip to content

readd paths on push #1028

readd paths on push

readd paths on push #1028

Workflow file for this run

name: coveralls

Check failure on line 1 in .github/workflows/coveralls.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/coveralls.yml

Invalid workflow file

you may only define one of `paths` and `paths-ignore` for a single event
on:
push:
paths-ignore:
- "**.md"
- "**.rst"
- "**.ipynb"
paths:
- "deeprankcore/**"
- "tests/**"
- ".github/workflows/linting.yml"
branches:
- main
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- "**.md"
- "**.rst"
- "**.ipynb"
paths:
- "deeprankcore/**"
- "tests/**"
- ".github/workflows/linting.yml"
jobs:
build:
if: github.event.pull_request.draft == false
name: Coveralls
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: [3.9]
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-python-and-package
- name: Run unit tests with coverage
run: pytest --cov --cov-append --cov-report xml --cov-report term --cov-report html
- name: Coveralls
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
COVERALLS_FLAG_NAME: python-${{ matrix.os }}
run: |
coveralls --service=github