Skip to content

Commit

Permalink
upgrade workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Teri-anric committed Jan 27, 2025
1 parent defb2a4 commit d8cce1b
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/cairo_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,21 @@ on:
push:
branches:
- main
paths:
- '**/*.rs'
- '**/*.cairo'
- Scarb.toml
- Scarb.lock
- .tool-versions
pull_request:
branches:
- main
paths:
- '**/*.rs'
- '**/*.cairo'
- Scarb.toml
- Scarb.lock
- .tool-versions

jobs:
build-and-test:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@ on:
push:
branches:
- main
paths:
- 'web_app/**'
- 'devops/**'
pull_request:
branches:
- main
paths:
- 'web_app/**'
- 'devops/**'

jobs:
shared:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/frontend_tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: Run Frontend Tests

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

jobs:
test:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ on:
push:
branches:
- main
paths:
- 'web_app/**'
- 'devops/**'
pull_request:
branches:
- main

paths:
- 'web_app/**'
- 'devops/**'
jobs:
shared:
uses: ./.github/workflows/shared_workflow.yml
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ name: Pylint
on:
push:
branches: [main]
paths:
- '**/*.py'
pull_request:
branches: [main]
paths:
- '**/*.py'

jobs:
shared:
Expand Down

0 comments on commit d8cce1b

Please sign in to comment.