Skip to content

Commit 359dfc8

Browse files
authored
CICD workflows (microsoft#7)
* lint and license * linting fixes * - installs dev dependencies * - release workflow
1 parent 5b1f9a9 commit 359dfc8

10 files changed

Lines changed: 1015 additions & 2 deletions

File tree

.github/workflows/pythonpackage.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Python package
1+
name: Buld Nutter
22

33
on: [push]
44

@@ -21,6 +21,10 @@ jobs:
2121
run: |
2222
python -m pip install --upgrade pip
2323
pip install -r requirements.txt
24+
- name: Install dev dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install -r dev_requirements.txt
2428
- name: Lint with flake8
2529
run: |
2630
pip install flake8

.github/workflows/pythonpublish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
2424
run: |
2525
python setup.py sdist bdist_wheel
26-
twine upload dist/*
26+
twine upload --repository-url https://test.pypi.org/legacy/ dist/*

.vs/ProjectSettings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"CurrentProjectSetting": null
3+
}

.vs/PythonSettings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"Interpreter": "env\\Scripts\\python.exe"
3+
}

.vs/VSWorkspaceState.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"ExpandedNodes": [
3+
"",
4+
"\\cli",
5+
"\\tests",
6+
"\\tests\\cli"
7+
],
8+
"SelectedNode": "\\cli\\nuttercli.py",
9+
"PreviewInSolutionExplorer": false
10+
}

.vs/nutter/config/applicationhost.config

Lines changed: 974 additions & 0 deletions
Large diffs are not rendered by default.

.vs/nutter/v16/.suo

35 KB
Binary file not shown.

.vs/slnx.sqlite

160 KB
Binary file not shown.

.vs/tasks.vs.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"version": "0.2.1",
3+
"tasks": [
4+
{
5+
"taskName": "task-tests",
6+
"appliesTo": "tests/",
7+
"type": "launch"
8+
}
9+
]
10+
}

.vscode/settings.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"python.pythonPath": "/usr/bin/python3",
3+
"python.testing.pytestArgs": [
4+
"tests"
5+
],
6+
"python.testing.unittestEnabled": false,
7+
"python.testing.nosetestsEnabled": false,
8+
"python.testing.pytestEnabled": true
9+
}

0 commit comments

Comments
 (0)