Merge pull request #2 from ljensen505/update-ci-build

updated CI build
This commit is contained in:
Lucas Jensen
2024-05-02 16:02:48 -07:00
committed by GitHub
2 changed files with 7 additions and 1 deletions

View File

@@ -23,11 +23,13 @@ jobs:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Lint - name: Lint
working-directory: client
run: | run: |
npm install npm install
npm run prettier:check npm run prettier:check
- name: Build - name: Build
working-directory: client
run: | run: |
npm install npm install
npm run build npm run build

View File

@@ -1,4 +1,4 @@
name: thegrapefruitsduo backend build name: thegrapefruitsduo fastapi build
on: on:
push: push:
@@ -15,6 +15,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up Python 3.12 - name: Set up Python 3.12
uses: actions/setup-python@v3 uses: actions/setup-python@v3
with: with:
@@ -24,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