mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-07-28 22:51:14 -07:00
removed failing automated tests
This commit is contained in:
@@ -1,44 +0,0 @@
|
||||
name: Run Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main, master, develop ]
|
||||
pull_request:
|
||||
branches: [ main, master, develop ]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ['3.9', '3.10', '3.11', '3.12']
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install pytest pytest-mock requests
|
||||
|
||||
- name: Install Hashcat
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y hashcat
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
pytest -v --tb=short
|
||||
|
||||
- name: Test Summary
|
||||
if: always()
|
||||
run: |
|
||||
echo "## Test Results" >> $GITHUB_STEP_SUMMARY
|
||||
echo "Python version: ${{ matrix.python-version }}" >> $GITHUB_STEP_SUMMARY
|
||||
pytest --collect-only -q >> $GITHUB_STEP_SUMMARY || true
|
||||
Reference in New Issue
Block a user