Skip to content

Commit

Permalink
fix tests after code structure refactor of the inventree source
Browse files Browse the repository at this point in the history
  • Loading branch information
wolflu05 committed Apr 6, 2024
1 parent 66ffc9d commit 4b302a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:

- name: Setup inventree
run: |
cd /home/inventree
cd /home/inventree${{ matrix.inventree-tag == 'latest' && '/src/backend' || '' }}
HOME=/root pip3 install --no-cache-dir --disable-pip-version-check -U -r requirements.txt
- name: Setup inventree-bulk-plugin
Expand All @@ -143,9 +143,9 @@ jobs:
- name: Run tests
run: |
cd /home/inventree
cd /home/inventree${{ matrix.inventree-tag == 'latest' && '/src/backend' || '' }}
HOME=/root coverage run --omit="InvenTree/**" InvenTree/manage.py test inventree_bulk_plugin.tests.integration
echo $GITHUB_WORKSPACE > coverage_info
echo $GITHUB_WORKSPACE${{ matrix.inventree-tag == 'latest' && '"/src/backend"' || '' }} > coverage_info
- name: Upload coverage
if: ${{ matrix.inventree-tag == 'latest' }}
Expand Down

0 comments on commit 4b302a6

Please sign in to comment.