Skip to content
Closed

test #641

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/deploy-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@ on:
pull_request:
branches:
- main
paths:
- 'src/frontend/**'
- 'src/**/*.py'
- 'src/requirements*.txt'
- 'src/WebApp.Dockerfile'
- '!src/tests/**'
- 'infra/**/*.bicep'
- 'infra/**/*.json'
- '*.yaml'
- '.github/workflows/deploy-*.yml'
workflow_run:
workflows: ["Build Docker and Optional Push"]
types:
Expand Down
853 changes: 0 additions & 853 deletions .github/workflows/deploy-v2.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/docker-build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,29 @@ name: Build Docker and Optional Push
on:
push:
branches: [main, dev, demo]
paths:
- 'src/frontend/**'
- 'src/**/*.py'
- 'src/requirements*.txt'
- '!src/tests/**'
- 'Dockerfile'
- '*.Dockerfile'
- '.github/workflows/docker-build-and-push.yml'
pull_request:
branches: [main, dev, demo]
types:
- opened
- ready_for_review
- reopened
- synchronize
paths:
- 'src/frontend/**'
- 'src/**/*.py'
- 'src/requirements*.txt'
- '!src/tests/**'
- 'Dockerfile'
- '*.Dockerfile'
- '.github/workflows/docker-build-and-push.yml'
merge_group:
workflow_dispatch:

Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,28 @@ name: Build Frontend
on:
push:
branches: [ "main" ]
paths:
- 'src/frontend/**/*.ts'
- 'src/frontend/**/*.tsx'
- 'src/frontend/**/*.js'
- 'src/frontend/**/*.jsx'
- 'src/frontend/**/*.json'
- 'src/frontend/**/*.css'
- 'src/frontend/**/*.scss'
- 'src/frontend/**/*.html'
- '.github/workflows/node.js.yml'
pull_request:
branches: [ "main" ]
paths:
- 'src/frontend/**/*.ts'
- 'src/frontend/**/*.tsx'
- 'src/frontend/**/*.js'
- 'src/frontend/**/*.jsx'
- 'src/frontend/**/*.json'
- 'src/frontend/**/*.css'
- 'src/frontend/**/*.scss'
- 'src/frontend/**/*.html'
- '.github/workflows/node.js.yml'


jobs:
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
name: PyLint

on: [push]
on:
push:
paths:
- 'src/**/*.py'
- '!src/tests/**'
- '.flake8'
- '.github/workflows/pylint.yml'
pull_request:
paths:
- 'src/**/*.py'
- '!src/tests/**'
- '.flake8'
- '.github/workflows/pylint.yml'

jobs:
lint:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,18 @@ name: Python application
on:
push:
branches: [ "main" ]
paths:
- 'src/**/*.py'
- 'src/requirements*.txt'
- 'src/tests/**'
- '.github/workflows/python-app.yml'
pull_request:
branches: [ "main" ]
paths:
- 'src/**/*.py'
- 'src/requirements*.txt'
- 'src/tests/**'
- '.github/workflows/python-app.yml'

permissions:
contents: read
Expand Down
26 changes: 22 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,34 @@ name: Test Workflow with Coverage

on:
push:
branches:
- main # Trigger on push to the main branch
paths:
- 'src/**/*.py'
- 'src/frontend/**/*.ts'
- 'src/frontend/**/*.tsx'
- 'src/frontend/**/*.js'
- 'src/frontend/**/*.jsx'
- 'src/frontend/**/*.json'
- 'src/frontend/**/*.css'
- 'src/frontend/**/*.scss'
- 'src/frontend/**/*.html'
- '.github/workflows/tests.yml'
pull_request:
branches:
- main # Trigger on pull requests to the main branch
types:
- opened
- ready_for_review
- reopened
- synchronize
paths:
- 'src/**/*.py'
- 'src/frontend/**/*.ts'
- 'src/frontend/**/*.tsx'
- 'src/frontend/**/*.js'
- 'src/frontend/**/*.jsx'
- 'src/frontend/**/*.json'
- 'src/frontend/**/*.css'
- 'src/frontend/**/*.scss'
- 'src/frontend/**/*.html'
- '.github/workflows/tests.yml'

jobs:
backend_tests:
Expand Down
2 changes: 1 addition & 1 deletion src/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

export NODE_OPTIONS=--max_old_space_size=8192

# Restoring backend python packages
# Restoring backend python packages.
echo ""
echo "Restoring backend python packages"
echo ""
Expand Down
Loading