update yml file
This commit is contained in:
6
.github/workflows/server-build.yml
vendored
6
.github/workflows/server-build.yml
vendored
@@ -16,9 +16,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: change to server directory
|
|
||||||
run: cd server
|
|
||||||
|
|
||||||
- name: Set up Python 3.12
|
- name: Set up Python 3.12
|
||||||
uses: actions/setup-python@v3
|
uses: actions/setup-python@v3
|
||||||
with:
|
with:
|
||||||
@@ -28,13 +25,16 @@ jobs:
|
|||||||
uses: abatilo/actions-poetry@v2
|
uses: abatilo/actions-poetry@v2
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
working-directory: server
|
||||||
run: |
|
run: |
|
||||||
poetry install
|
poetry install
|
||||||
|
|
||||||
- name: Lint with black
|
- name: Lint with black
|
||||||
|
working-directory: server
|
||||||
run: |
|
run: |
|
||||||
poetry run black --check .
|
poetry run black --check .
|
||||||
|
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
|
working-directory: server
|
||||||
run: |
|
run: |
|
||||||
poetry run pytest -s
|
poetry run pytest -s
|
||||||
|
|||||||
Reference in New Issue
Block a user