Skip to content

Commit

Permalink
Add steps to build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Chia committed Sep 6, 2024
1 parent 681a9af commit 9beace1
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ jobs:
- name: Run Machete
run: cargo machete --with-metadata

doctests:
docbuild:
runs-on: ubuntu-latest
continue-on-error: true
env:
Expand Down Expand Up @@ -787,8 +787,30 @@ jobs:
run: |
source activate
maturin develop
doc-tests:
runs-on: ubuntu-latest
needs: docbuild
steps:
- name: Run doctests
run: |
source activate
pytest --doctest-modules --continue-on-collection-errors daft/dataframe/dataframe.py daft/expressions/expressions.py daft/convert.py daft/udf.py
doc-gen:
runs-on: ubuntu-latest
needs: docbuild
steps:
- name: Generate docs
run: |
source activate
cd docs/
make html
- name: Upload docs
uses: actions/upload-artifact@v4
with:
name: html-docs
path: docs/build/html

publish-coverage-reports:
name: Publish coverage reports to CodeCov
Expand Down

0 comments on commit 9beace1

Please sign in to comment.