Skip to main content

A CI/CD tool

Project description

Bluish

The CI/CD/automation tool I use for my personal projects.

Why use a rock-solid tool when you can code your own crappy Make on steroids alternative?

Features

  • YAML-based declarative approach (not that I love YAML, but...)
  • Githubactions-esque philosphy, but way simpler. In fact, Bluish is nearer to Make than to GA.
  • Simple as fuck. I only add new actions whenever I need them.

How do Bluish workflows look?

If you know other CI/CD tools, the following yaml will look more than familiar to you and you probably don't need an explanation.

var:
  PYTHON_VERSION: "3.11"
  PYTEST_RUNNERS: 2

jobs:
  lint:
    name: Runs ruff and mypy
    steps:
      - run: |
          ruff version
          ruff check src/ test/
          echo ""
          mypy --version
          mypy --ignore-missing-imports --python-version=${{ var.PYTHON_VERSION }} src/ test/

  fix:
    name: Reformats the code using ruff
    depends_on:
      - lint
    steps:
      - run: |
          ruff version
          ruff check --select I --fix src/ test/
          ruff format src/
          echo ""

  test:
    name: Run tests
    steps:
      - run: |
          pytest -n ${{ var.PYTEST_RUNNERS }}

Note that the similarity with other tools like Github Actions is very superficial. Please, refer to the project docs for more details about the huge differences.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bluish-0.0.16.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

bluish-0.0.16-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file bluish-0.0.16.tar.gz.

File metadata

  • Download URL: bluish-0.0.16.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for bluish-0.0.16.tar.gz
Algorithm Hash digest
SHA256 6b8fa41ff660f277232b7625b25b7a280a09f61df3f8d3d907e619c09a49c3c1
MD5 a340390b5fda93322bea82cb9dba7916
BLAKE2b-256 281dd6d9336c2f4d537d0bcf32b6ecea642c5a9fdb2ef5c51ab0324da9bbd04b

See more details on using hashes here.

File details

Details for the file bluish-0.0.16-py3-none-any.whl.

File metadata

  • Download URL: bluish-0.0.16-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for bluish-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 46a5b3162a52345d63a396ffb4cfb431c4d13eab0c63370b1bb4e3c43c40af1e
MD5 63fb93e81730fd4743604fe24c20000a
BLAKE2b-256 1d19b163b10e26da21eb5270f8f12ebd190e6a3846cefdaea33da1e30049108e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page