Skip to content

Commit 5ec5538

Browse files
author
Gal Ben David
committed
- updated the ci files
- added Python 3.9 support - added setup.cfg file for pytest configuration
1 parent c012ba8 commit 5ec5538

File tree

6 files changed

+21
-12
lines changed

6 files changed

+21
-12
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Checkout
10-
uses: actions/checkout@v1
10+
uses: actions/checkout@v2
1111
- name: Install latest rust
1212
uses: actions-rs/toolchain@v1
1313
with:
@@ -25,13 +25,13 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
python-version: [3.6, 3.7, 3.8]
28+
python-version: [3.6, 3.7, 3.8, 3.9]
2929
os: [ubuntu-latest , macos-latest, windows-latest]
3030
steps:
3131
- name: Checkout
32-
uses: actions/checkout@v1
32+
uses: actions/checkout@v2
3333
- name: Set up Python ${{ matrix.python-version }}
34-
uses: actions/setup-python@v1
34+
uses: actions/setup-python@v2
3535
with:
3636
python-version: ${{ matrix.python-version }}
3737
- name: Run image
@@ -45,5 +45,5 @@ jobs:
4545
run: poetry install
4646
- name: Build Python package
4747
run: poetry run maturin develop
48-
- name: pytest
48+
- name: Test
4949
run: poetry run pytest tests

.github/workflows/deploy.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
python-version: [3.6, 3.7, 3.8]
12+
python-version: [3.6, 3.7, 3.8, 3.9]
1313
os: [ubuntu-latest, macos-latest, windows-latest]
1414
steps:
15-
- uses: actions/checkout@v1
16-
- uses: actions/setup-python@v1
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
- name: Set up Python ${{ matrix.python-version }}
18+
uses: actions/setup-python@v2
1719
with:
1820
python-version: ${{ matrix.python-version }}
1921
- name: Install latest rust

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyrepscan"
3-
version = "0.7.1"
3+
version = "0.7.2"
44
authors = ["Gal Ben David <[email protected]>"]
55
edition = "2018"
66
description = "A Git Repository Secrets Scanner written in Rust"
@@ -20,6 +20,7 @@ classifier = [
2020
"Programming Language :: Python :: 3.6",
2121
"Programming Language :: Python :: 3.7",
2222
"Programming Language :: Python :: 3.8",
23+
"Programming Language :: Python :: 3.9",
2324
"Programming Language :: Rust",
2425
]
2526

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</p>
99

1010
![license](https://img.shields.io/badge/MIT-License-blue)
11-
![Python](https://img.shields.io/badge/Python-3.6%20%7C%203.7%20%7C%203.8%20%7C%20pypy3-blue)
11+
![Python](https://img.shields.io/badge/Python-3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9-blue)
1212
![Build](https://github.com/intsights/PyRepScan/workflows/Build/badge.svg)
1313
[![PyPi](https://img.shields.io/pypi/v/PyRepScan.svg)](https://pypi.org/project/PyRepScan/)
1414

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ strip = true
1414

1515
[tool.poetry]
1616
name = "pyrepscan"
17-
version = "0.7.1"
17+
version = "0.7.2"
1818
authors = ["Gal Ben David <[email protected]>"]
1919
description = "A Git Repository Secrets Scanner written in Rust"
2020
readme = "README.md"
@@ -36,7 +36,8 @@ classifiers = [
3636
"Programming Language :: Python :: 3.6",
3737
"Programming Language :: Python :: 3.7",
3838
"Programming Language :: Python :: 3.8",
39-
"Programming Language :: Rust"
39+
"Programming Language :: Python :: 3.9",
40+
"Programming Language :: Rust",
4041
]
4142

4243
[tool.poetry.dependencies]

setup.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[aliases]
2+
test=pytest
3+
4+
[tool:pytest]
5+
addopts = --tb=native -s

0 commit comments

Comments
 (0)