Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ManiMozaffar committed Apr 28, 2024
1 parent 1c3d6cb commit 9f1a8c8
Show file tree
Hide file tree
Showing 3 changed files with 295 additions and 22 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ jobs:
with:
node-version: 18

- run: pip install -r src/python-fastui/requirements/all.txt
- run: pip install src/python-fastui
- run: make install

- run: make lint

- run: npm install

Expand Down Expand Up @@ -69,11 +70,13 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- run: pip install -r src/python-fastui/requirements/test.txt
- run: pip install -r src/python-fastui/requirements/pyproject.txt
- run: pip install -e src/python-fastui
- run: pip install pdm

- run: make install

- run: make test

- run: coverage run -m pytest src
- run: make coverage
# display coverage and fail if it's below 80%, which shouldn't happen
- run: coverage report --fail-under=80

Expand Down
Loading

0 comments on commit 9f1a8c8

Please sign in to comment.