Skip to content
CI/CD Inventory

galaxyproject/edam_data (opens in new tab)

1 workflow

Triggers

push pull_request

Jobs

Jobs for Python CI
Job Runs on Steps Actions used
test ubuntu-latest 4
actions/checkout@v1 actions/setup-python@v1
deploy ubuntu-latest 5
actions/checkout@v1 actions/setup-python@v1 pypa/gh-action-pypi-publish@v1.0.0a0
Raw YAML
name: Python CI
on: [push, pull_request]
jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        python-version: ['3.5', '3.9']
        tox-action:
          - lint
          - mypy
          - unit
    steps:
      - uses: actions/checkout@v1
        with:
          fetch-depth: 1
          submodules: true
      - uses: actions/setup-python@v1
        with:
          python-version: ${{ matrix.python-version }}
      - name: Install dependencies
        run: |
          python -m pip install --upgrade pip
          pip install tox
      - name: Test with tox
        run: |
          TOXENV=$(echo $TOXENV | sed 's/\.//') tox
        env:
          TOXENV: py${{ matrix.python-version }}-${{ matrix.tox-action }}
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
        with:
          fetch-depth: 1
          submodules: true
      - uses: actions/setup-python@v1
        with:
          python-version: '3.7'
      - name: Install dependencies
        run: |
          python3 -m pip install --upgrade pip setuptools
          python3 -m pip install --upgrade twine wheel
      - name: Create and check packages
        run: |
          make dist
      - name: Publish to PyPI
        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
        uses: pypa/gh-action-pypi-publish@v1.0.0a0
        with:
          password: ${{ secrets.pypi_password }}

Last fetched: