Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions 8 .github/workflows/local-setup-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
poetry install
- name: Run local unit tests
run: |
./go.sh run-local-unit-test
poetry run pytest tests/unit
- name: Run local integration tests
run: |
./go.sh run-local-integration-test
poetry run pytest tests/integration

windows:
runs-on: windows-latest
Expand All @@ -48,10 +48,10 @@ jobs:
poetry install
- name: Run local unit tests
run: |
.\go.ps1 run-local-unit-test
poetry run pytest tests/unit
# This doesn't work at the moment because running spark locally on Windows
# requires a special setup for Hadoop
# TODO: https://cwiki.apache.org/confluence/display/HADOOP2/WindowsProblems
# - name: Run local integration tests
# run: |
# .\go.ps1 run-local-integration-test
# poetry run pytest tests/integration
17 changes: 17 additions & 0 deletions 17 README-LOCAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,20 @@ poetry run spark-submit \
<INPUT_PATH> \
<OUTPUT_PATH>
```
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/techops-recsys-lateral-hiring/dataengineer-transformations-python)

It's recommend that you setup ssh to Gitpod so that you can use VS Code from local to remote to Gitpod.

There's an initialize script setup that takes around 3 minutes to complete. Once you use paste this repository link in new Workspace, please wait until the packages are installed. After everything is setup, select Poetry's environment by clicking on thumbs up icon and navigate to Testing tab and hit refresh icon to discover tests.

### Common issue with VS Code's Testing

If Testing tab complains about Python Interpreter, run `poetry shell` in terminal to get the bin path, replace activate with python3 to resolve the issue.

If poetry shell activate with this path

`/workspace/.pyenv_mirror/poetry/virtualenvs/{project_name}-py{python_version}/bin/activate`

Paste this into Python Interpreter prompt

`/workspace/.pyenv_mirror/poetry/virtualenvs/{project_name}-py{python_version}/bin/python3`
266 changes: 0 additions & 266 deletions 266 README.md

This file was deleted.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.