Skip to content

Commit

Permalink
[16.0][UPD] Enable CicleCi Test and stv (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
majouda authored Dec 12, 2024
1 parent b67e1f0 commit d15a430
Showing 1 changed file with 27 additions and 31 deletions.
58 changes: 27 additions & 31 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,34 +21,30 @@ jobs:
name: Setup Log Folder For Reports
command: sudo mkdir -p .log && sudo chmod 777 .log

# - run:
# name: Run Test
# command: docker-compose run --rm odoo run_pytest.sh

# - run:
# name: Codacy Coverage
# command: bash <(curl -Ls https://coverage.codacy.com/get.sh) report -l python -r .log/coverage.xml
- run:
name: Run Test
command: docker-compose run --rm odoo run_pytest.sh

# - store_test_results:
# path: .log
- store_test_results:
path: .log

# job that find the next tag for the current branch/repo and push the tag to github.
# it will trigger the publish of a new docker image.
# auto-tag:
# machine: true
# steps:
# - checkout
# - run:
# <<: *quay_io_login
# - run:
# name: Get nws
# command: |
# curl -L $NWS_BIN_LOCATION > ./nws
# chmod +x ./nws
# - run:
# name: Set tag
# command: |
# ./nws circleci create-tag -t odoo-base
auto-tag:
machine: true
steps:
- checkout
- run:
<<: *quay_io_login
- run:
name: Get nws
command: |
curl -L $NWS_BIN_LOCATION > ./nws
chmod +x ./nws
- run:
name: Set tag
command: |
./nws circleci create-tag -t odoo-base
workflows:
version: 2
Expand All @@ -57,10 +53,10 @@ workflows:
- tests:
context: quay.io

# - auto-tag:
# context: nws
# requires:
# - tests
# filters:
# branches:
# only: /^1\d\.0/
- auto-tag:
context: nws
requires:
- tests
filters:
branches:
only: /^1\d\.0/

0 comments on commit d15a430

Please sign in to comment.