diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..71e01bc --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,29 @@ +name: test + +on: [push, pull_request] + +# Note: Full integration tests require a live dserver instance with signed URL +# support. This workflow runs linting and import checks only. + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ['3.8', '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 -e . + - name: Lint + run: | + pip install flake8 + flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + - name: Import check + run: python -c "import dtool_dserver; print('import ok:', dtool_dserver.__file__)" diff --git a/CHANGELOG.rst b/CHANGELOG.rst new file mode 100644 index 0000000..c42f51e --- /dev/null +++ b/CHANGELOG.rst @@ -0,0 +1,8 @@ +Changelog +========= + +0.1.0 (initial release) +----------------------- + +* Initial release. +