Skip to content

Commit

Permalink
Update the continuous integration service settings
Browse files Browse the repository at this point in the history
  • Loading branch information
vladpunko committed Feb 29, 2024
1 parent 0e21ca1 commit a5422da
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 7 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/hooks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: git hooks

on:
push:
branches:
- "master"

jobs:
hooks:
runs-on: ubuntu-latest

steps:
- name: Step -- 1.
uses: actions/checkout@v4

- name: Step -- 2.
uses: actions/setup-python@v5
with:
python-version: "3.x"

- name: Step -- 3.
run: pip3 install --upgrade pip && pip3 install --no-cache-dir --upgrade pre-commit

- name: Step -- 4.
run: python3 -m pre_commit run --all-files --config .githooks.yml
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:

strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- name: Step -- 1.
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Step -- 2.
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include LICENSE README.markdown
include LICENSE README.md
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# notebook-environments

![hooks](https://github.com/vladpunko/notebook-environments/actions/workflows/hooks.yml/badge.svg)
![tests](https://github.com/vladpunko/notebook-environments/actions/workflows/tests.yml/badge.svg)

Manage python virtual environments on the working notebook server.
Expand Down
2 changes: 1 addition & 1 deletion notebook_environments.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"show_kernels",
)

__version__ = "0.8.13"
__version__ = "0.8.14"


def _in_virtual_environment():
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",

"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{27,35,36,37,38,39,310,311}
envlist = py{27,35,36,37,38,39,310,311,312}

# Ignore errors related to absence of some python interpreters on the current machine.
skip_missing_interpreters = true
Expand All @@ -13,7 +13,7 @@ deps =
pytest-cov
six
py{27,35}: pyfakefs<4.5.0 # mock the python file system modules for some previous interpreter versions
py{36,37,38,39,310,311}: pyfakefs
py{36,37,38,39,310,311,312}: pyfakefs

[testenv:lint]
commands = python -m pre_commit run --all-files --config .githooks.yml
Expand Down

0 comments on commit a5422da

Please sign in to comment.