Skip to content

Commit c4487de

Browse files
committed
some renaming of workflow files
1 parent b082010 commit c4487de

File tree

3 files changed

+30
-13
lines changed

3 files changed

+30
-13
lines changed

.github/workflows/build.yml renamed to .github/workflows/build-test-package-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: build_test_and_package
1+
name: build_test_package_publish
22

33
on:
44
push:

.github/workflows/codeql-analysis.yml

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
uses: actions/checkout@v2
3232

3333
# Initializes the CodeQL tools for scanning.
34-
- name: Initialize CodeQL
34+
- name: Initialize CodeQL
3535
uses: github/codeql-action/init@v1
3636
with:
3737
languages: ${{ matrix.language }}
@@ -40,15 +40,35 @@ jobs:
4040
# Prefix the list here with "+" to use these queries and those in the config file.
4141
# queries: ./path/to/local/query, your-org/your-repo/queries@main
4242

43-
- name: Set up Python
44-
uses: actions/setup-python@v2
45-
with:
46-
python-version: '3.8'
43+
- name: setup python environment
44+
id: setup-python
45+
uses: actions/setup-python@v2
46+
with:
47+
python-version: "3.8"
48+
49+
- name: install Poetry
50+
uses: snok/install-poetry@v1
51+
with:
52+
virtualenvs-create: true
53+
virtualenvs-in-project: true
54+
installer-parallel: true
55+
56+
- run: pip install poetry-dynamic-versioning
57+
58+
- name: Load cached venv
59+
id: cached-poetry-dependencies
60+
uses: actions/cache@v2
61+
with:
62+
path: .venv
63+
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
64+
65+
- name: Install dependencies
66+
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
67+
run: poetry install --no-interaction --no-root
68+
69+
- name: install robotcode
70+
run: poetry install --no-interaction
4771

48-
- uses: Gr1N/setup-poetry@v7
49-
- run: pip3 install poetry-dynamic-versioning
50-
- run: poetry install
51-
- run: poetry-dynamic-versioning
5272

5373
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5474
# If this step fails, then you should remove it and run the build manually (see below)

robotcode/language_server/robotframework/diagnostics/imports_manager.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -694,9 +694,6 @@ async def find_library(self, name: str, base_dir: str, variables: Optional[Dict[
694694
async def find_variables(self, name: str, base_dir: str, variables: Optional[Dict[str, Any]] = None) -> str:
695695
from robot.variables.search import contains_variable
696696

697-
# if contains_variable(name, "$@&%"):
698-
# name = name.replace("%{CI_PROJECT_DIR}", self.environment["CI_PROJECT_DIR"])
699-
700697
if contains_variable(name, "$@&%"):
701698
return await asyncio.wait_for(
702699
asyncio.get_running_loop().run_in_executor(

0 commit comments

Comments
 (0)