mirror of
https://github.com/PR0M3TH3AN/VoxVera.git
synced 2026-10-27 09:40:40 +00:00
- e2e.yml: remove qrencode, imagemagick, jq, nodejs, npm (no longer needed) - test-e2e.sh: check host/<subdomain>/ instead of dist/, fix onionshare-cli flags (remove --use-running-tor, add -v), run pytest unit tests - ci.yml: install package with pip install -e . instead of listing deps manually
25 lines
510 B
YAML
25 lines
510 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
|
|
jobs:
|
|
lint-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.11'
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install flake8 pytest
|
|
pip install -e .
|
|
- name: Lint
|
|
run: flake8 voxvera tests
|
|
- name: Test
|
|
run: pytest tests/test_cli.py -v
|