mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-06-29 01:38:47 -07:00
34 lines
738 B
YAML
34 lines
738 B
YAML
name: tests
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
pytest:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.13"
|
|
|
|
- name: Install system dependencies
|
|
run: sudo apt-get update && sudo apt-get install -y p7zip-full transmission-cli
|
|
|
|
- name: Install uv
|
|
run: python -m pip install --upgrade pip uv pytest
|
|
|
|
- name: Install project dependencies
|
|
run: uv pip install .
|
|
|
|
- name: Run tests
|
|
env:
|
|
HATE_CRACK_RUN_E2E: "0"
|
|
HATE_CRACK_RUN_DOCKER_TESTS: "0"
|
|
HATE_CRACK_RUN_LIVE_TESTS: "0"
|
|
run: uv run pytest -v
|