Skip to content

Commit f56ff59

Browse files
author
dapalex
committed
update WF names
1 parent c7a046f commit f56ff59

File tree

5 files changed

+23
-23
lines changed

5 files changed

+23
-23
lines changed

.github/workflows/test-cli.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
22
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
33

4-
name: Command Line Interface test
4+
name: Command Line Interface
55

66
on:
77
push:

.github/workflows/test-codegen.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
22
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
33

4-
name: Code Generation Test
4+
name: Code Generation
55

66
on:
77
push:

.github/workflows/test-map.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
22
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
33

4-
name: Pyhon-GraphQL Mapping Test
4+
name: Pyhon-GraphQL Mapping
55

66
on:
77
push:

codegen/utils.py

+20-20
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,27 @@
44
import pathlib
55

66

7-
class OutputType(Enum):
8-
COMMANDS = 1,
9-
SCHEMAS = 2,
10-
OTHER = 3
7+
# class OutputType(Enum):
8+
# COMMANDS = 1,
9+
# SCHEMAS = 2,
10+
# OTHER = 3
1111

12-
def cleanFolder(folder):
13-
for top, dirs, files in os.walk(folder):
14-
for file in files:
15-
os.remove(os.path.join(top,file))
16-
for dir in dirs:
17-
directory = os.path.join(folder, dir)
18-
cleanFolder(directory)
19-
os.rmdir(directory)
12+
# def cleanFolder(folder):
13+
# for top, dirs, files in os.walk(folder):
14+
# for file in files:
15+
# os.remove(os.path.join(top,file))
16+
# for dir in dirs:
17+
# directory = os.path.join(folder, dir)
18+
# cleanFolder(directory)
19+
# os.rmdir(directory)
2020

21-
def cleanOutput(outType: OutputType):
22-
if outType == OutputType.COMMANDS:
23-
dirToClean = pathlib.Path(os.path.join(os.curdir, 'commandsOutput'))
24-
if outType == OutputType.SCHEMAS:
25-
dirToClean = pathlib.Path(os.path.join(os.path.join(os.curdir, 'test'), 'output'))
21+
# def cleanOutput(outType: OutputType):
22+
# if outType == OutputType.COMMANDS:
23+
# dirToClean = pathlib.Path(os.path.join(os.curdir, 'commandsOutput'))
24+
# if outType == OutputType.SCHEMAS:
25+
# dirToClean = pathlib.Path(os.path.join(os.path.join(os.curdir, 'test'), 'output'))
2626

27-
cleanFolder(dirToClean)
27+
# cleanFolder(dirToClean)
2828

29-
def waitForInput(isToWait: str):
30-
if isToWait and isToWait.lower() == 'y': input('Go on..')
29+
# def waitForInput(isToWait: str):
30+
# if isToWait and isToWait.lower() == 'y': input('Go on..')

requirements.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)