Skip to content

Commit

Permalink
only doc test 12
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdboom committed Apr 7, 2024
1 parent fe10811 commit 62e53a3
Showing 1 changed file with 33 additions and 26 deletions.
59 changes: 33 additions & 26 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,32 +93,39 @@ 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:
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: Free disk space
run: |
sudo df -h
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo df -h
- 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
Expand Down

0 comments on commit 62e53a3

Please sign in to comment.