Skip to content

Commit 90b6831

Browse files
committed
Set up the continuous integration service
1 parent 832c6e4 commit 90b6831

File tree

4 files changed

+55
-1
lines changed

4 files changed

+55
-1
lines changed

.github/.gitkeep

Whitespace-only changes.

.github/workflows/hooks.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: git hooks
2+
3+
on:
4+
push:
5+
branches:
6+
- "master"
7+
8+
jobs:
9+
hooks:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Step -- 1.
14+
uses: actions/checkout@v4
15+
16+
- name: Step -- 2.
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: "3.x"
20+
21+
- name: Step -- 3.
22+
run: pip3 install --upgrade pip && pip3 install --no-cache-dir --upgrade 'poetry>=2.0.0'
23+
24+
- name: Step -- 4.
25+
run: make lint

.github/workflows/tests.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: python testing and linting
2+
3+
on:
4+
push:
5+
branches:
6+
- "master"
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
12+
strategy:
13+
matrix:
14+
python-version: ["3.10", "3.11", "3.12"]
15+
16+
steps:
17+
- name: Step -- 1.
18+
uses: actions/checkout@v4
19+
20+
- name: Step -- 2.
21+
uses: actions/setup-python@v5
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
25+
- name: Step -- 3.
26+
run: pip3 install --upgrade pip && pip3 install --no-cache-dir --upgrade 'poetry>=2.0.0'
27+
28+
- name: Step -- 4.
29+
run: make tests

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
## Installation
1010

11-
It is recommended to use this package together with [virtualenv](https://github.com/pypa/virtualenv) and [virtualenvwrapper](https://bitbucket.org/virtualenvwrapper/virtualenvwrapper) to work with python virtual environments more suitable. Make sure the installed [python](https://wiki.archlinux.org/title/python) interpreters work without errors on the current operating system. To install this package you are to use the [pip](https://pip.pypa.io/en/stable) package manager by running the following command:
11+
It is recommended to use this package together with [virtualenv](https://github.com/pypa/virtualenv) and [virtualenvwrapper](https://github.com/python-virtualenvwrapper/virtualenvwrapper) to work with python virtual environments more suitable. Make sure the installed [python](https://wiki.archlinux.org/title/python) interpreters work without errors on the current operating system. To install this package you are to use the [pip](https://pip.pypa.io/en/stable) package manager by running the following command:
1212

1313
```bash
1414
python3 -m pip install {{PROJECT_NAME}}

0 commit comments

Comments
 (0)