Skip to content

Commit

Permalink
wip(ci/cd): coverage test new gha
Browse files Browse the repository at this point in the history
  • Loading branch information
remdub committed Oct 1, 2024
1 parent 08730ea commit 708b242
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/branch-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@ jobs:
if: ${{ env.ACT }}
run: echo /home/runner/externals/node20/bin >> $GITHUB_PATH
- name: Run check
uses: IMIO/gha/plone-package-test-notify@python2
uses: IMIO/gha/plone-package-test-notify@v4
env:
cache-name: cache-eggs
with:
CACHE_KEY: ${{ runner.os }}-build-${{ env.cache-name }}-2.7.18
TEST_COMMAND: coverage run bin/test
REQUIREMENTS_FILE: 'requirements-tests.txt'
INSTALL_DEPENDENCIES_COMMANDS: |
sudo pip2.7 install -r requirements-tests.txt
sudo apt-get update
sudo apt-get install -y python3-pip
sudo pip3 install -r requirements-coverage.txt
MATTERMOST_WEBHOOK_URL: ${{ secrets.DELIB_MATTERMOST_WEBHOOK_URL }}
#BUILDOUT_CONFIG_FILE: 'test-${{ matrix.plone-version }}.cfg'
BUILDOUT_CONFIG_FILE: buildout.cfg
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,8 @@ jobs:
# registry: harbor.imio.be
# image: harbor.imio.be/common/libreoffice:7.3
# run: soffice --headless --nodefault --accept="socket,host=loffice,port=2002,tcpNoDelay=1;urp;StarOffice.ServiceManager"
- name: Install Pip
run: |
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
python2.7 get-pip.py
export PATH="/home/runner/.local/bin:$PATH"
- name: Run tests
uses: IMIO/gha/plone-package-test-notify@python2
uses: IMIO/gha/plone-package-test-notify@v4
env:
cache-name: cache-eggs
with:
Expand Down

0 comments on commit 708b242

Please sign in to comment.