Skip to content
CI/CD Inventory

galaxyproject/galaxy-upload (opens in new tab)

2 workflows

Triggers

push pull_request

Jobs

Jobs for Lint
Job Runs on Steps Actions used
lint ubuntu-latest 4
actions/checkout@v3 actions/setup-python@v3
Raw YAML
name: Lint
on: [push, pull_request]
concurrency:
  group: lint-${{ github.ref }}
  cancel-in-progress: true
jobs:
  lint:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: ['3.7', '3.10']
    steps:
    - uses: actions/checkout@v3
    - uses: actions/setup-python@v3
      with:
        python-version: ${{ matrix.python-version }}
    - name: Install tox
      run: python -m pip install 'tox>=1.8.0'
    - name: Lint
      run: tox -e lint

Last fetched:

Triggers

release

Jobs

Jobs for Publish galaxy-upload to PyPI
Job Runs on Steps Actions used
Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI ubuntu-latest 6
actions/checkout@v3 actions/setup-python@v4 pypa/gh-action-pypi-publish@release/v1 pypa/gh-action-pypi-publish@release/v1
Raw YAML
name: Publish galaxy-upload to PyPI
on:
  release:
    types: [created]
jobs:
  build-n-publish:
    name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - name: Set up Python 3.9
      uses: actions/setup-python@v4
      with:
        python-version: '3.9'
    - name: Install dependencies
      run: |
        python3 -m pip install --upgrade pip setuptools
        python3 -m pip install --upgrade twine wheel build
    - name: Create and check packages
      run: |
        python3 -m build
        twine check dist/*
        ls -l dist
    - name: Publish distribution 📦 to Test PyPI
      uses: pypa/gh-action-pypi-publish@release/v1
      with:
        password: ${{ secrets.TEST_PYPI_API_TOKEN }}
        repository-url: https://test.pypi.org/legacy/
        skip-existing: true
    - name: Publish distribution 📦 to PyPI
      if: github.event_name == 'release' && github.event.action == 'created'
      uses: pypa/gh-action-pypi-publish@release/v1
      with:
        password: ${{ secrets.PYPI_API_TOKEN }}

Last fetched: