Skip to content

Commit

Permalink
Update build-frontend.yml and poetry-pytest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AndPuQing authored and visualDust committed Nov 27, 2023
1 parent 38f4e8d commit 5411306
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/build-frontend.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: Frontend Build & Lint

on: ["pull_request", "push"]
on:
push:
paths:
- 'neetbox/frontend/**'
pull_request:
paths:
- 'neetbox/frontend/**'


jobs:
build:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/poetry-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on: ["pull_request","push"]
jobs:
test:
runs-on: ubuntu-latest
strategy:
max-parallel: 3
matrix:
python-version: [3.9, 3.10, 3.11]
steps:
#----------------------------------------------
# check-out repo and set-up python
Expand All @@ -15,7 +19,7 @@ jobs:
id: setup-python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: ${{ matrix.python-version }}
#----------------------------------------------
# ----- install & configure poetry -----
#----------------------------------------------
Expand Down

0 comments on commit 5411306

Please sign in to comment.