diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..8ef8a17c --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,36 @@ +name: Test + +on: + push: + branches: + - "gardena/eb/ci" + paths: + - ".github/workflows/test.ya?ml" + - "mkdocs.ya?ml" + - "poetry.lock" + - "pyproject.toml" + - "docs/**" + +jobs: + publish: + runs-on: ubuntu-latest + permissions: + contents: write + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install Python + uses: actions/setup-python@v5 + with: + python-version: ${{ vars.PYTHON_VERSION }} + + - name: Install Poetry + run: pip install poetry + + - name: Install Dependencies + run: poetry install --no-root --with docs + + # - name: Deploy website + # run: poetry run mkdocs gh-deploy