Skip to content

Commit

Permalink
Make GitHub workflow log more colorful
Browse files Browse the repository at this point in the history
  • Loading branch information
nat-n committed Nov 18, 2023
1 parent 99fac52 commit 8351177
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ jobs:
cache: poetry

- name: Install dependencies
run: poetry install --without dev
run: poetry --ansi install --without dev

- name: Check code formatting
run: poetry run poe style
run: poetry --ansi run poe style

- name: Run linter
run: poetry run poe lint
run: poetry --ansi run poe lint

- name: Check types
run: poetry run poe types
run: poetry --ansi run poe types

- name: Check rst syntax
run: poetry run poe docs-check
run: poetry --ansi run poe docs-check

run-tests:
name: Run tests
Expand All @@ -56,10 +56,10 @@ jobs:
cache: poetry

- name: Install dependencies
run: poetry install --without dev --without docs
run: poetry --ansi install --without dev --without docs

- name: Run tests
run: poetry run pytest -v --color=yes
run: poetry --ansi run pytest -v --color=yes

build:
name: Build distribution
Expand All @@ -76,7 +76,7 @@ jobs:
python-version: 3.11

- name: Build package
run: poetry build
run: poetry --ansi build

- name: Store the distribution packages
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
Expand Down

0 comments on commit 8351177

Please sign in to comment.