Skip to content

Commit

Permalink
Merge pull request #1 from voi-oss/update-github-actions
Browse files Browse the repository at this point in the history
chore: update GitHub Actions versions and set up Codecov
  • Loading branch information
fernandobrito authored May 26, 2023
2 parents d558329 + 9302178 commit 08c3f6b
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 9 deletions.
13 changes: 13 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[run]
branch = True
source = dbttoolkit

[report]
exclude_lines =
if self.debug:
pragma: no cover
raise NotImplementedError
if __name__ == .__main__.:
ignore_errors = True
omit =
tests/*
4 changes: 2 additions & 2 deletions .github/workflows/publish-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
publish-package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8.x'

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/run-code-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8.x'

- name: Install system dependencies
run: pip3 install pipenv

- name: Cache Python packages
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.local/share/virtualenvs/
key: ${{ runner.os }}-python-${{ hashFiles('**/Pipfile.lock') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8.x'

- name: Install system dependencies
run: pip3 install pipenv

- name: Cache Python packages
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.local/share/virtualenvs/
key: ${{ runner.os }}-python-${{ hashFiles('**/Pipfile.lock') }}

- name: Install Python dependencies
run: pipenv install --dev --deploy
run: pipenv install --dev --deploy

- name: Install this package
run: pipenv run pip3 install .
Expand Down
Empty file.

0 comments on commit 08c3f6b

Please sign in to comment.