Skip to content

Update steam version #46

Update steam version

Update steam version #46

Workflow file for this run

name: test Odoo addons
on:
pull_request:
branches:
- "v4.0.x*"
push:
branches:
- "v4.0.x"
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
odoo_version: ["12", "14"]
env:
ODOO_VERSION: ${{ matrix.odoo_version }}
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Make db folder
run: mkdir .db
- name: Init Odoo Database
run: docker compose -f ci.docker-compose.yml run --rm --service-ports odoo odoo --stop-after-init
- name: Install Shopinvader Gems
run: docker compose -f ci.docker-compose.yml run --rm --service-ports shopinvader bundle install
- name: Run Test
run: docker compose -f ci.docker-compose.yml run -e ALGOLIA_API_KEY=$ALGOLIA_API_KEY --rm --service-ports shopinvader bundle exec rake spec
- uses: codecov/codecov-action@v2