Skip to content

Commit 528e8ee

Browse files
heitorlessarubenfonseca
authored andcommitted
chore(ci): enable ci checks for v2
1 parent b369b3c commit 528e8ee

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

Diff for: .github/workflows/codeql-analysis.yml

+15-15
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: "CodeQL"
22

33
on:
44
push:
5-
branches: [develop]
5+
branches: [develop, v2]
66

77
jobs:
88
analyze:
@@ -14,23 +14,23 @@ jobs:
1414
matrix:
1515
# Override automatic language detection by changing the below list
1616
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
17-
language: ['python']
17+
language: ["python"]
1818
# Learn more...
1919
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
2020

2121
steps:
22-
- name: Checkout repository
23-
uses: actions/checkout@v3
22+
- name: Checkout repository
23+
uses: actions/checkout@v3
2424

25-
# Initializes the CodeQL tools for scanning.
26-
- name: Initialize CodeQL
27-
uses: github/codeql-action/init@v2
28-
with:
29-
languages: ${{ matrix.language }}
30-
# If you wish to specify custom queries, you can do so here or in a config file.
31-
# By default, queries listed here will override any specified in a config file.
32-
# Prefix the list here with "+" to use these queries and those in the config file.
33-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
25+
# Initializes the CodeQL tools for scanning.
26+
- name: Initialize CodeQL
27+
uses: github/codeql-action/init@v2
28+
with:
29+
languages: ${{ matrix.language }}
30+
# If you wish to specify custom queries, you can do so here or in a config file.
31+
# By default, queries listed here will override any specified in a config file.
32+
# Prefix the list here with "+" to use these queries and those in the config file.
33+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
3434

35-
- name: Perform CodeQL Analysis
36-
uses: github/codeql-action/analyze@v2
35+
- name: Perform CodeQL Analysis
36+
uses: github/codeql-action/analyze@v2

Diff for: .github/workflows/python_build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
- "mypy.ini"
1111
branches:
1212
- develop
13+
- v2
1314
push:
1415
paths:
1516
- "aws_lambda_powertools/**"
@@ -19,6 +20,7 @@ on:
1920
- "mypy.ini"
2021
branches:
2122
- develop
23+
- v2
2224

2325
jobs:
2426
build:
@@ -54,7 +56,5 @@ jobs:
5456
uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # 3.1.0
5557
with:
5658
file: ./coverage.xml
57-
# flags: unittests
5859
env_vars: PYTHON
5960
name: aws-lambda-powertools-python-codecov
60-
# fail_ci_if_error: true # failing more consistently making CI unreliable despite all tests above passing

Diff for: .github/workflows/run-e2e-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55

66
push:
7-
branches: [develop]
7+
branches: [develop, v2]
88
paths:
99
- "aws_lambda_powertools/**"
1010
- "tests/e2e/**"

0 commit comments

Comments
 (0)