Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/dependencies-037e70d3ae
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored Oct 9, 2024
2 parents dce05f3 + 67d591e commit 4031f2c
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 14 deletions.
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ updates:
# @types/vscode should be manually bumped when we also update
# engines.vscode inside package.json
- dependency-name: "@types/vscode"
- dependency-name: "codecov/codecov-action"
versions: ["4.6.0"]
- package-ecosystem: "github-actions"
directory: "/"
schedule:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ jobs:
path: .

- name: Upload als test coverage data [1/4]
uses: codecov/codecov-action@v4.6.0
uses: codecov/codecov-action@v4.5.0
with:
name: als
files: ./*/coverage/als/lcov.info
Expand All @@ -360,7 +360,7 @@ jobs:
use_oidc: true # cspell:ignore oidc

- name: Upload unit test coverage data [2/4]
uses: codecov/codecov-action@v4.6.0
uses: codecov/codecov-action@v4.5.0
with:
name: unit
files: ./*/coverage/unit/lcov.info
Expand All @@ -370,7 +370,7 @@ jobs:
use_oidc: true # cspell:ignore oidc

- name: Upload ui test coverage data [3/4]
uses: codecov/codecov-action@v4.6.0
uses: codecov/codecov-action@v4.5.0
with:
name: unit
files: ./*/coverage/ui/lcov.info
Expand All @@ -380,7 +380,7 @@ jobs:
use_oidc: true # cspell:ignore oidc

- name: Upload e2e test coverage data [4/4]
uses: codecov/codecov-action@v4.6.0
uses: codecov/codecov-action@v4.5.0
with:
name: e2e
files: ./*/coverage/e2e/lcov.info
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ repos:
# entry: npx yarn npm audit

- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v4.6.0
rev: v5.0.0
hooks:
- id: end-of-file-fixer
exclude: >
Expand Down Expand Up @@ -158,7 +158,7 @@ repos:
docs/als/settings.md
)$
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.41.0
rev: v0.42.0
hooks:
- id: markdownlint
exclude: >
Expand All @@ -174,7 +174,7 @@ repos:
docs/development/webview_guide.md
$
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.17.0
rev: v9.18.0
hooks:
- id: commitlint
stages: [commit-msg]
6 changes: 3 additions & 3 deletions packages/ansible-language-server/test/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ export function deleteAlsCache(): void {

export function setFixtureAnsibleCollectionPathEnv(prePendPath?: string): void {
if (prePendPath) {
process.env.ANSIBLE_COLLECTIONS_PATHS = `${prePendPath}:${ANSIBLE_COLLECTIONS_FIXTURES_BASE_PATH}`;
process.env.ANSIBLE_COLLECTIONS_PATH = `${prePendPath}:${ANSIBLE_COLLECTIONS_FIXTURES_BASE_PATH}`;
} else {
process.env.ANSIBLE_COLLECTIONS_PATHS =
process.env.ANSIBLE_COLLECTIONS_PATH =
ANSIBLE_COLLECTIONS_FIXTURES_BASE_PATH;
}
}

export function unSetFixtureAnsibleCollectionPathEnv(): void {
process.env.ANSIBLE_COLLECTIONS_PATHS = undefined;
process.env.ANSIBLE_COLLECTIONS_PATH = undefined;
}

export function setAnsibleConfigEnv(): void {
Expand Down
6 changes: 3 additions & 3 deletions test/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,15 @@ export function setFixtureAnsibleCollectionPathEnv(
prePendPath: string | undefined = undefined,
): void {
if (prePendPath) {
process.env.ANSIBLE_COLLECTIONS_PATHS = `${prePendPath}:${ANSIBLE_COLLECTIONS_FIXTURES_BASE_PATH}`;
process.env.ANSIBLE_COLLECTIONS_PATH = `${prePendPath}:${ANSIBLE_COLLECTIONS_FIXTURES_BASE_PATH}`;
} else {
process.env.ANSIBLE_COLLECTIONS_PATHS =
process.env.ANSIBLE_COLLECTIONS_PATH =
ANSIBLE_COLLECTIONS_FIXTURES_BASE_PATH;
}
}

export function unSetFixtureAnsibleCollectionPathEnv(): void {
process.env.ANSIBLE_COLLECTIONS_PATHS = undefined;
process.env.ANSIBLE_COLLECTIONS_PATH = undefined;
}

export async function enableExecutionEnvironmentSettings(): Promise<void> {
Expand Down
2 changes: 1 addition & 1 deletion test/testScripts/diagnostics/testYamlWithoutEE.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export function testDiagnosticsYAMLWithoutEE(): void {
severity: 0,
message:
"Syntax Error while loading YAML.\n" +
" mapping values are not allowed in this context\n",
" mapping values are not allowed in this context",
range: new vscode.Range(
new vscode.Position(6, 21),
new vscode.Position(6, integer.MAX_VALUE),
Expand Down

0 comments on commit 4031f2c

Please sign in to comment.