Skip to content

Update python-package.yml #22

Update python-package.yml

Update python-package.yml #22

name: DataMov CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: MatteoH2O1999/setup-python@v2
with:
python-version: 2.7.18
- name: Set working directory and list contents
run: |
cd /home/runner/work/DataMov
ls
working-directory: /home/runner/work/DataMov
- name: Print current location
run: |
echo "Current location: $(pwd)"
- name: Install Setup
run: |
python -m pip install .
pip install pyspark==2.4.3
pip install pytest==4.5.0
- name: Run tests
run: |
pytest
- name: Build wheel
run: |
python setup.py sdist bdist_wheel