Update python-package.yml #22
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: 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 | |