Skip to content

Commit

Permalink
only doc test 8
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdboom committed Apr 6, 2024
1 parent a3452f9 commit bd1e764
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
54 changes: 27 additions & 27 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,33 +109,33 @@ jobs:
with:
languages: python

unit-tests:
needs: free-disk-space
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.10", "3.11"]
steps:
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up pdm
uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}
cache: true
- name: Install dependencies
run: |
pdm sync -G full -G test
pip install cmdstanpy==0.9.5 # Fixes https://github.com/facebook/prophet/issues/2354
- name: Run tests w/ coverage
run: pdm run pytest -n=auto --cov=atom --cov-report=xml tests/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11' }}
with:
files: ./coverage.xml
#
# unit-tests:
# needs: free-disk-space
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# os: [ubuntu-latest, windows-latest, macos-latest]
# python-version: ["3.10", "3.11"]
# steps:
# - name: Check out source repository
# uses: actions/checkout@v4
# - name: Set up pdm
# uses: pdm-project/setup-pdm@v4
# with:
# python-version: ${{ matrix.python-version }}
# cache: true
# - name: Install dependencies
# run: |
# pdm sync -G full -G test
# pip install cmdstanpy==0.9.5 # Fixes https://github.com/facebook/prophet/issues/2354
# - name: Run tests w/ coverage
# run: pdm run pytest -n=auto --cov=atom --cov-report=xml tests/
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v4
# if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11' }}
# with:
# files: ./coverage.xml

# examples-tests:
# runs-on: ubuntu-latest
# steps:
Expand Down

Large diffs are not rendered by default.

0 comments on commit bd1e764

Please sign in to comment.