Skip to content

Commit b87203e

Browse files
author
Maxim
authored
Merge pull request #12 from tna0y/github-actions
feat: github actions
2 parents 7a2474c + f366d3b commit b87203e

File tree

3 files changed

+28
-13
lines changed

3 files changed

+28
-13
lines changed

.github/workflows/test.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10"]
15+
steps:
16+
- uses: actions/checkout@v3
17+
- name: Set up Python ${{ matrix.python-version }}
18+
uses: actions/setup-python@v3
19+
with:
20+
python-version: "${{ matrix.python-version }}"
21+
- name: Install pytest
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install pytest
25+
- name: Run pytest
26+
run: |
27+
pytest

.travis.yml

-12
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
This script is able to predict python's `random` module random generated values.
1010

11-
Script was tested against **Python 3.5.2**, **3.6.2.** and **3.7.0.** Should work against other versions of Python as well, since the generator is pretty much the same in **2.7.12**. Enjoy!
11+
Script was tested against Python versions from **3.5** to **3.10**. Should work against other versions of Python as well, since the generator is pretty much the same in **2.7.12**. Enjoy!
1212

1313
## Installation
1414
To install randcrack, simply:

0 commit comments

Comments
 (0)