Skip to content

Commit

Permalink
Merge pull request #114 from HashPals/bee-san-patch-2
Browse files Browse the repository at this point in the history
Add new github action runners
  • Loading branch information
amadejpapez committed Jun 13, 2021
2 parents daf871a + 6378b39 commit da1d921
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ name: Tests
on: pull_request
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9']
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions tests/test_hashcat.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@


def test_if_all_tests_exist():
with open("name_that_hash/hashes.py", "r") as file:
with open("name_that_hash/hashes.py", "r", encoding="utf8") as file:
database = file.read()

with open("tests/test_hashcat.py", "r") as file:
with open("tests/test_hashcat.py", "r", encoding="utf8") as file:
tests = file.read()

database = re.findall(r"hashcat=(\d+)", database)
Expand Down

0 comments on commit da1d921

Please sign in to comment.