@@ -23,11 +23,13 @@ jobs:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
- name: Lint
|
||||
working-directory: client
|
||||
run: |
|
||||
npm install
|
||||
npm run prettier:check
|
||||
|
||||
- name: Build
|
||||
working-directory: client
|
||||
run: |
|
||||
npm install
|
||||
npm run build
|
||||
@@ -1,4 +1,4 @@
|
||||
name: thegrapefruitsduo backend build
|
||||
name: thegrapefruitsduo fastapi build
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -15,6 +15,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python 3.12
|
||||
uses: actions/setup-python@v3
|
||||
with:
|
||||
@@ -24,13 +25,16 @@ jobs:
|
||||
uses: abatilo/actions-poetry@v2
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: server
|
||||
run: |
|
||||
poetry install
|
||||
|
||||
- name: Lint with black
|
||||
working-directory: server
|
||||
run: |
|
||||
poetry run black --check .
|
||||
|
||||
- name: Test with pytest
|
||||
working-directory: server
|
||||
run: |
|
||||
poetry run pytest -s
|
||||
Reference in New Issue
Block a user