ci,devbox: fix for ci

This commit is contained in:
Mark Joshwel 2023-10-14 19:56:35 +00:00
parent c152cf651d
commit 7f8197785e
2 changed files with 4 additions and 7 deletions

View file

@ -28,10 +28,10 @@ jobs:
run: devbox run poetry run mypy . run: devbox run poetry run mypy .
- name: check for black formatting compliance - name: check for black formatting compliance
run: devbox run poetry run "black --check ." run: devbox run poetry run black --check .
- name: analyse isort compliance - name: analyse isort compliance
run: devbox run poetry run "isort --check *.py **/*.py" run: devbox run poetry run isort --check *.py **/*.py
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -40,7 +40,7 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: install devbox - name: install devbox
uses: jetpack-io/devbox-install-action@v0.3.0 uses: jetpack-io/devbox-install-action@v0.7.0
- name: install dependencies - name: install dependencies
run: devbox run poetry install run: devbox run poetry install

View file

@ -5,10 +5,7 @@
"poetry@latest" "poetry@latest"
], ],
"shell": { "shell": {
"init_hook": [ "init_hook": ["poetry install"]
"poetry install",
"poetry shell"
]
}, },
"nixpkgs": { "nixpkgs": {
"commit": "f80ac848e3d6f0c12c52758c0f25c10c97ca3b62" "commit": "f80ac848e3d6f0c12c52758c0f25c10c97ca3b62"