Skip to content

Commit

Permalink
Merge pull request #4 from nemishmehta/dev
Browse files Browse the repository at this point in the history
Added GitHub Actions yml.
  • Loading branch information
nemishmehta authored Jul 30, 2024
2 parents 284bcf5 + a9c1a1e commit 3b1b77a
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 2 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: "tests"
on:
push:
branches: ["main", "dev"]
pull_request:
branches: ["main", "dev"]

jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Set environment variables
uses: c-py/action-dotenv-to-setenv@v5
with:
env-file: .env
- name: Install rye
uses: eifinger/setup-rye@v3
with:
version: "latest"
- name: Install rye dependencies
run: rye sync
- name: Run pre-commit CI hooks
run: rye run pre-commit run --all-files
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "awesome-inc"
version = "0.4.2"
version = "0.5.0"
description = "Add your description here"
authors = [
{ name = "nemishmehta", email = "[email protected]" }
Expand Down
2 changes: 1 addition & 1 deletion src/awesome_inc/warehouse/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ models:
awesome_inc:
# Config indicated by + and applies to all files under models/example/
staging:
+materialized: table
+materialized: view
marts:
+materialized: table

0 comments on commit 3b1b77a

Please sign in to comment.