Initial ChatGPT share exporter
This commit is contained in:
10 files changed
+1130
No files matched your search
@@ -0,0 +1,32 @@
|
||||
name: Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["main", "master"]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
|
||||
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Install package
|
||||
run: python -m pip install -e .
|
||||
|
||||
- name: Compile Python files
|
||||
run: python -m py_compile main.py chatgpt_share_exporter.py tests/test_exporter.py
|
||||
|
||||
- name: Run tests
|
||||
run: python -m unittest discover -s tests
|
||||
Reference in new issue
Block a user