Skip to content

Commit

Permalink
Merge pull request #736 from ratt-ru/pypi-deploy
Browse files Browse the repository at this point in the history
init pypi deploy
  • Loading branch information
SpheMakh authored Nov 19, 2021
2 parents 71da395 + 792e810 commit 044b948
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 37 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Upload Python Package

on:
release:
types: [published]

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: ${{ secrets.PYPI_USERNAME_SCABHA }}
password: ${{ secrets.PYPI_TOKEN_STIMELA }}
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .travis/pep8.docker

This file was deleted.

8 changes: 0 additions & 8 deletions .travis/py3.docker

This file was deleted.

2 changes: 1 addition & 1 deletion stimela/cargo/cab/calibrator/parameters.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"task": "calibrator",
"base": "stimela/meqtrees",
"tag": "1.7.1",
"tag": "1.6.3",
"description": "Uses MeqTrees to calibrate a measurement set, given a sky model (Gaussians and point sources, and/or visibility data in MODEL_DATA column)",
"prefix": " ",
"binary": "/usr/bin/meqtree-pipeliner.py",
Expand Down

0 comments on commit 044b948

Please sign in to comment.