Skip to content

refactor(config): move transport item to cijoe #486

refactor(config): move transport item to cijoe

refactor(config): move transport item to cijoe #486

Workflow file for this run

---
name: selftest
on:
pull_request:
push:
branches:
- "!gh-pages"
- "**"
tags:
- "v*"
defaults:
run:
shell: bash
jobs:
selftest:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-latest]
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- name: Grab source
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Python dependencies and their versions
run: |
brew update || true
brew upgrade pipx || true
make deps
make info
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: All
run: |
make all
cijoe -r
publish:
if: startsWith(github.ref, 'refs/tags/v')
needs: selftest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Python dependencies and their versions
run: |
make deps
make info
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
make release