Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
gkze committed Sep 14, 2022
1 parent 7138b7e commit 24f534c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
32 changes: 17 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,40 @@ on:
- pull_request

jobs:
ci:
lint:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
os:
- ubuntu-latest
- macos-latest
- windows-latest
python-version:
- "3.8"
- "3.9"
- "3.10"

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- name: Checkout code
uses: actions/checkout@v2

- uses: actions/setup-python@v2
- name: Cache dependencies
uses: actions/cache@v3
with:
python-version: ${{ matrix.python-version }}
path: ~/.cache/pypoetry
key: ${{ runner.os }}-poetry-cache

- name: Upgrade pip
run: pip3 install -U pip
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install Poetry
run: pip3 install -U poetry

- name: Set up dependencies
- name: Install dependencies
run: poetry install

- name: Run linters
- name: Run multilint on itself
run: poetry run multilint

- name: Run unit tests
run: poetry run python -m unittest -v
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "powerk8s"
version = "0.5.0"
version = "0.6.0"
description = "Powerline Segment for Kubernetes"
authors = ["George Kontridze <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 24f534c

Please sign in to comment.