fix #86
Workflow file for this run
This file contains hidden or 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: CI pipeline | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| tags-ignore: | |
| - 'v*' # this tag type is used for release pipelines | |
| jobs: | |
| ci-pipeline: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| max-parallel: 4 | |
| env: | |
| DATABRICKS_HOST: ${{ secrets.DATABRICKS_HOST }} | |
| DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Set up Python | |
| uses: actions/setup-python@v2 | |
| - name: Install dependencies | |
| run: | | |
| make install | |
| - name: Install Databricks CLI | |
| run: | | |
| pipenv run curl -fsSL https://raw.githubusercontent.com/databricks/setup-cli/main/install.sh | sh | |
| pipenv run databricks --version | |
| - name: Deploy on ci | |
| run: | | |
| make deploy-ci | |
| - name: Run ci | |
| run: | | |
| make run-ci | |
| - name: Deploy on prod | |
| run: | | |
| make deploy-prod |