Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

When is being created a tag name v[0-9].[0-9].[0-9], archive and publ… #9

When is being created a tag name v[0-9].[0-9].[0-9], archive and publ…

When is being created a tag name v[0-9].[0-9].[0-9], archive and publ… #9

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Python package
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Lint with Ruff
run: |
python -m pip install ruff
ruff check --output-format=github .
continue-on-error: true
- name: Build Dist Wheels
run: |
mkdir -p ${{ github.workspace }}/artifacts
python setup.py bdist_wheel
mv dist/* ${{ github.workspace }}/artifacts/
- name: Archive Build Artifacts
uses: actions/upload-artifact@v4
with:
name: PlainTextTerminal-${{ matrix.python-version }}-${{ matrix.os }}
path: ${{ github.workspace }}/artifacts/*.whl
Morty Proxy This is a proxified and sanitized view of the page, visit original site.