diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..8f889ac --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,29 @@ +name: Tests + +on: + push: + +jobs: + build: + strategy: + matrix: + python-version: [3.11] + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up python + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + run: pip install .[tests] pytest-md pytest-emoji + + - uses: pavelzw/pytest-action@v2 + with: + emoji: true + verbose: true + job-summary: true diff --git a/tests/test_adapters/__init__.py b/tests/test_adapters/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/test_adapter.py b/tests/test_adapters/test_adapter.py similarity index 100% rename from tests/test_adapter.py rename to tests/test_adapters/test_adapter.py diff --git a/tests/test_adapters/test_adapter_dataset.py b/tests/test_adapters/test_adapter_dataset.py new file mode 100644 index 0000000..5871ed8 --- /dev/null +++ b/tests/test_adapters/test_adapter_dataset.py @@ -0,0 +1 @@ +import pytest