Merge pull request #44 from jmolina4/fix_gitpod #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Local Setup Test | |
on: [push] | |
jobs: | |
mac_nix: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: "zulu" | |
java-version: "11" | |
- name: Install poetry | |
run: pipx install poetry | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
cache: "poetry" | |
- name: Install Python Dependencies | |
run: | | |
poetry install | |
- name: Run local unit tests | |
run: | | |
./go.sh run-local-unit-test | |
- name: Run local integration tests | |
run: | | |
./go.sh run-local-integration-test | |
windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: "zulu" | |
java-version: "11" | |
- name: Install poetry | |
run: pipx install poetry | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
cache: "poetry" | |
- name: Install Python Dependencies | |
run: | | |
scripts\install.bat | |
poetry install | |
- name: Run local unit tests | |
run: | | |
.\go.ps1 run-local-unit-test | |
# 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 |