Skip to content

Commit

Permalink
pyspark env variables hail mary
Browse files Browse the repository at this point in the history
  • Loading branch information
samlamont committed Jan 10, 2025
1 parent d2d5352 commit 66aca11
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/documentation-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- uses: actions/setup-python@v3
with:
python-version: "3.10.12"
python-version: "3.10"

- name: Install dependencies
run: |
Expand All @@ -27,6 +27,15 @@ jobs:
poetry add ghp-import
python -m teehr.utils.install_spark_jars
- name: Set pyspark environment variables
run: |
import os
import sys
os.environ['PYSPARK_PYTHON'] = sys.executable
os.environ['PYSPARK_DRIVER_PYTHON'] = sys.executable
shell: python

- name: Sphinx build
run: |
cd docs/sphinx
Expand Down

0 comments on commit 66aca11

Please sign in to comment.