Skip to content

Commit

Permalink
created CI file for sqlalchemy test
Browse files Browse the repository at this point in the history
  • Loading branch information
Vedant1 committed Dec 18, 2024
1 parent 36b3786 commit 1b71c08
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
33 changes: 33 additions & 0 deletions .github/workflows/test_sqlalchemy.yml
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion dsi/backends/tests/test_sqlalchemy.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
class Base(DeclarativeBase):
pass


class Wildfire(Base):
__tablename__ = "wildfire"

Expand Down

0 comments on commit 1b71c08

Please sign in to comment.