Skip to content

Commit

Permalink
create example pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-rp committed Apr 29, 2024
1 parent e3bf39d commit bab18ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,13 @@ jobs:
- name: Install dependencies
run: poetry install --no-interaction --with dev

- name: Run make lint
- name: Run make test
run: make test

- name: Create example pipeline
run: make create-pokemon-pipeline


matrix_job_required_check:
name: lint | code & tests
needs: run_lint
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@ test:
# dev helpers
create-pokemon-pipeline:
rm -rf pokemon-pipeline
dlt-init init pokemon --url https://raw.githubusercontent.com/cliffano/pokeapi-clients/ec9a2707ef2a85f41b747d8df013e272ef650ec5/specification/pokeapi.yml --no-interactive
poetry run dlt-init init pokemon --url https://raw.githubusercontent.com/cliffano/pokeapi-clients/ec9a2707ef2a85f41b747d8df013e272ef650ec5/specification/pokeapi.yml --no-interactive

run-pokemon-pipeline:
cd pokemon-pipeline && poetry run python pipeline.py

0 comments on commit bab18ff

Please sign in to comment.