Skip to content

Commit

Permalink
fix: install dad
Browse files Browse the repository at this point in the history
  • Loading branch information
Justintime50 committed Jul 2, 2023
1 parent 060399c commit 7e8a5ce
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.pythonversion }}
- run: just install coverage
- run: just install setup-dad coverage
coverage:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
Expand All @@ -45,7 +45,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- run: just install coverage
- run: just install setup-dad coverage
- uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ A sample address object will look like the following:

```bash
# To setup the `DAD` git submodule
git submodule init && git submodule update --remote
just setup-dad

# Get a comprehensive list of development tools
just --list
Expand Down
4 changes: 4 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ isort-check:
mypy:
{{VIRTUAL_BIN}}/mypy {{PROJECT_NAME}}/ {{TEST_DIR}}/

# Sets up the DAD git submodule
setup-dad:
git submodule init && git submodule update --remote

# Test the project
test:
{{VIRTUAL_BIN}}/pytest

0 comments on commit 7e8a5ce

Please sign in to comment.