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
Release history Release notifications | RSS feed
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.9.tar.gz
(18.4 kB
view details)
Built Distribution
bluish-0.0.9-py3-none-any.whl
(17.3 kB
view details)
File details
Details for the file bluish-0.0.9.tar.gz
.
File metadata
- Download URL: bluish-0.0.9.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10134a7cb095a653a1739f30133b1f912fd175422034f4595d694b46f01988a9 |
|
MD5 | c3eca8a1ea6758d8934edbb1c48a39a9 |
|
BLAKE2b-256 | 6a8948aaf9cb9c57178ae475030c948e4609cd8fac65e6c159b2fbe65fa9ba85 |
File details
Details for the file bluish-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: bluish-0.0.9-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13d52c7db17d51f1ee1687bf45ab0eb0bba7f3c4424e622233ff4078ec779707 |
|
MD5 | f7b93945cc886274ae787ea93403a631 |
|
BLAKE2b-256 | bc3ce5410f426afbba4f2ac34aafa33c8a5cc7d9908fb7250c19c5883cae1bac |