Move to Luigi. #74
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: Pipeline | |
on: [push] | |
jobs: | |
sqlpipeline: | |
runs-on: ubuntu-latest | |
name: SQL Pipeline | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Sqlite | |
run: sudo apt install sqlite3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install other dependencies | |
run: pip install -r requirements.txt | |
# - name: Build database | |
# run: cd sql; bash make.sh | |
# - uses: actions/upload-artifact@v3 | |
# with: | |
# name: SQL Pipeline Result | |
# path: output | |
# deploy: | |
# runs-on: ubuntu-latest | |
# environment: deploy | |
# name: Deploy | |
# if: github.ref == 'refs/heads/main' | |
# needs: [rpipeline, sqlpipeline] | |
# steps: | |
# - name: Trigger | |
# uses: peter-evans/repository-dispatch@v2 | |
# with: | |
# token: ${{ secrets.CROSS_TOKEN }} | |
# repository: SchmidtDSE/plastics-prototype | |
# event-type: data-update |