Skip to content

Commit

Permalink
Merge pull request #153 from cvxgrp/tschm-patch-1
Browse files Browse the repository at this point in the history
Update release.yml
  • Loading branch information
tschm authored Jan 24, 2025
2 parents 3233296 + e23d4ae commit 65f07f4
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 22 deletions.
61 changes: 40 additions & 21 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,42 @@
//{
// "name": "Python 3",
// // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
// "image": "mcr.microsoft.com/devcontainers/python:1-3.9-bookworm",
// "onCreateCommand": ".devcontainer/startup.sh",
// "customizations": {
// "vscode": {
// "settings": {
// "python.testing.pytestEnabled": true,
// "python.testing.unittestEnabled": false,
// "python.testing.pytestArgs": [
// "."
// ],
// "python.pythonPath": ".venv/bin/python",
// "python.defaultInterpreterPath": ".venv/bin/python",
// "python.terminal.activateEnvInCurrentTerminal": true
// },
// "extensions": [
// "ms-toolsai.jupyter"
// ]
// }
// }
//}

{
"name": "Python 3",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/python:1-3.9-bookworm",
"onCreateCommand": ".devcontainer/startup.sh",
"customizations": {
"vscode": {
"settings": {
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false,
"python.testing.pytestArgs": [
"."
],
"python.pythonPath": ".venv/bin/python",
"python.defaultInterpreterPath": ".venv/bin/python",
"python.terminal.activateEnvInCurrentTerminal": true
},
"extensions": [
"ms-toolsai.jupyter"
]
}
}
"name": "Jupyter Environment",
"image": "mcr.microsoft.com/devcontainers/python:3",
"features": {
"ghcr.io/devcontainers/features/python:1": {}
},
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"ms-toolsai.jupyter"
]
}
},
"postCreateCommand": "pip install jupyter notebook pandas numpy matplotlib",
"forwardPorts": [8888],
"postStartCommand": "jupyter notebook --ip=0.0.0.0 --port=8888 --NotebookApp.token='' --NotebookApp.password=''"
}
11 changes: 10 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,13 @@ jobs:
- name: Checkout [${{ github.repository }}]
uses: actions/checkout@v4

- uses: cvxgrp/.github/actions/[email protected]
# download dist from build
- uses: actions/download-artifact@v4
with:
name: dist
path: dist

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://upload.pypi.org/legacy/

0 comments on commit 65f07f4

Please sign in to comment.