diff --git a/.github/workflows/test-plugin-integration.yml b/.github/workflows/test-plugin-integration.yml new file mode 100644 index 0000000..167714c --- /dev/null +++ b/.github/workflows/test-plugin-integration.yml @@ -0,0 +1,56 @@ +name: Run Tests with Docker + +on: + push: + branches: + - main + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Print branch name + env: + BRANCH_NAME: ${{ github.head_ref || github.ref_name }} + run: | + echo "Branch name: $BRANCH_NAME" + shell: bash + + # Checkout the ohcnetwork/care repository + - name: Checkout ohcnetwork/care repository + uses: actions/checkout@v3 + with: + repository: DraKen0009/care + ref: adding-camera-plugin + + + # Update the plug_config.py file with the required content + - name: Update plug_config.py + env: + BRANCH_NAME: ${{ github.head_ref || github.ref_name }} + run: | + cat > ./plug_config.py <