Skip to content

feat: add show command with requirement origin tracking #21

feat: add show command with requirement origin tracking

feat: add show command with requirement origin tracking #21

name: test-action | addon-install-failing
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
- main
workflow_dispatch:
jobs:
test-addons-repo-install-failing:
name: addon install fails → action must fail
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./
id: run-action
continue-on-error: true
with:
odoo_version: "18.0"
python_version: "3.10"
oca_repos: "queue"
addons_subdirectory: tests/fixtures/addon-bad-import
- name: Assert action failed
run: |
if [ "${{ steps.run-action.outcome }}" != "failure" ]; then
echo "Expected the action to fail on bad import, but outcome was: ${{ steps.run-action.outcome }}"
exit 1
fi
echo "Action correctly failed on bad import."