remove branch division

This commit is contained in:
Marco Carrozzo
2023-01-23 17:21:46 +01:00
parent 3c0ac57125
commit ded53d7b06
+4 -3
View File
@@ -161,15 +161,16 @@ jobs:
cache-key-suffix: unit-tests-${{ matrix.unit-tests.name }} cache-key-suffix: unit-tests-${{ matrix.unit-tests.name }}
- uses: ./.github/actions/download-cache-and-artifacts - uses: ./.github/actions/download-cache-and-artifacts
with: with:
persistent-packages: 'nxcache node_modules' packages: 'node_modules'
packages-key-suffix: ${{ github.ref_name }}/${{ matrix.unit-tests.name }} persistent-packages: 'nxcache'
packages-key-suffix: ${{ matrix.unit-tests.name }}
- name: Run unit tests - name: Run unit tests
run: | run: |
/usr/bin/xvfb-run --auto-servernum nx affected:test $NX_CALCULATION_FLAGS --exclude=${{ matrix.unit-tests.exclude }} /usr/bin/xvfb-run --auto-servernum nx affected:test $NX_CALCULATION_FLAGS --exclude=${{ matrix.unit-tests.exclude }}
- uses: ./.github/actions/upload-cache-and-artifacts - uses: ./.github/actions/upload-cache-and-artifacts
with: with:
persistent-packages: 'nxcache' persistent-packages: 'nxcache'
packages-key-suffix: ${{ github.ref_name }}/${{ matrix.unit-tests.name }} packages-key-suffix: ${{ matrix.unit-tests.name }}
lint: lint:
# long timeout required when cache has to be recreated # long timeout required when cache has to be recreated