diff --git a/.github/workflows/test_sqlalchemy.yml b/.github/workflows/test_sqlalchemy.yml new file mode 100644 index 0000000..6c77c45 --- /dev/null +++ b/.github/workflows/test_sqlalchemy.yml @@ -0,0 +1,33 @@ +name: sqlalchemy.py test + +on: + push: + branches: + - main + pull_request: + branches: + - main + + +jobs: + linux: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ['3.11'] + + 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 -r requirements.sqlalchemy.txt + pip install . + - name: Test reader + run: | + pip install pytest + pytest dsi/backends/tests/test_sqlalchemy.py \ No newline at end of file diff --git a/dsi/backends/tests/test_sqlalchemy.py b/dsi/backends/tests/test_sqlalchemy.py index 5ace342..9b6092e 100644 --- a/dsi/backends/tests/test_sqlalchemy.py +++ b/dsi/backends/tests/test_sqlalchemy.py @@ -20,7 +20,6 @@ class Base(DeclarativeBase): pass - class Wildfire(Base): __tablename__ = "wildfire"