Skip to content

Commit

Permalink
Update testing-cron.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhao062 authored Jun 22, 2024
1 parent b56401b commit dd607e2
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/testing-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,16 @@ jobs:
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install libomp for macOS
if: startsWith(matrix.os, 'macos')
run: brew install libomp

- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -36,8 +40,10 @@ jobs:
- name: Test with pytest
run: |
coverage run --source=pyod -m pytest
- name: coverage report
- name: Coverage report
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_SERVICE_NAME: github-actions
run: |
coveralls --service=github
coveralls --service=github || echo "Coveralls failed to submit - retrying..." && coveralls --service=github

0 comments on commit dd607e2

Please sign in to comment.