some improvement

This commit is contained in:
Meghdad committed 2026-08-02 21:44:40 +03:30
1 parent bd92689d4a
commit 187878a774
12 files changed
+215 -22

No files matched your search

+44
View File
@@ -0,0 +1,44 @@
name: CI
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.12", "3.14"]
steps:
- name: Check out repository
uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Run tests
run: python -m unittest -v
- name: Check syntax
run: python -m py_compile ravin_downloader.py
- name: Confirm secrets stay untracked
run: |
if git ls-files --error-unmatch .env >/dev/null 2>&1; then
echo "error: .env must never be tracked"
exit 1
fi
- name: Verify package installation
run: |
python -m pip install .
ravin-downloader --version