- Rename GitHub Actions workflows to `deploy-docs.yml` and `test-project.yml` with specific job names - Configure `deploy-docs.yml` to trigger only on markdown file changes - Create `docs/` directory and move `roles.md`, `scripts.md`, and `upgrade-odoo.md` into it - Add symlinks in `docs/` for `README.md` and `roles/` to maintain root-level access - Update `.vuepress/config.js` to resolve absolute paths for `dest`, `public`, `temp`, and `cache` - Update `package.json` scripts to build and dev from the `docs` folder - Mark the migration task in `prompt.md` as completed with model and token details
34 lines
908 B
YAML
34 lines
908 B
YAML
on:
|
|
pull_request:
|
|
branches:
|
|
- "main"
|
|
push:
|
|
branches:
|
|
- "main"
|
|
|
|
jobs:
|
|
test:
|
|
name: Test Project
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.11'
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v5
|
|
- name: Clone taskfile
|
|
run: ./task clone-taskfile
|
|
- name: Install
|
|
run: ./task install
|
|
- name: Copy ansible config
|
|
run: cp ansible.cfg.template ansible.cfg
|
|
- name: Login docker
|
|
run: ./task login-docker ${{ secrets.CONTAINER_REGISTRY_USERNAME }} ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
|
|
- name: Test project
|
|
run: ./task test-project
|
|
- name: Test scripts
|
|
run: ./task test-scripts
|
|
env:
|
|
ODOO_ENTERPRISE_CODE: ${{ secrets.ODOO_ENTERPRISE_CODE }} |