diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48778ce8..2cd6b6fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,11 +2,12 @@ name: ci on: [push] jobs: coverage_cleanup: - if: ${{ always() }} runs-on: self-hosted steps: - name: Coverage cleanup run: | + echo "Cleaning up previous run" + rm -rf "${{ github.workspace }}" python3-coverage erase scn4me_subm: needs: [coverage_cleaup] @@ -20,8 +21,7 @@ jobs: export OPENRAM_HOME="`pwd`/compiler" export OPENRAM_TECH="`pwd`/technology:/software/PDKs/skywater-tech" export OPENRAM_TMP="${{ github.workspace }}/scn4me_subm" - rm -rf $OPENRAM_TMP - python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 20 -t scn4m_subm + python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 16 -t scn4m_subm - name: Archive if: ${{ failure() }} uses: actions/upload-artifact@v2 @@ -40,8 +40,7 @@ jobs: export OPENRAM_HOME="`pwd`/compiler" export OPENRAM_TECH="`pwd`/technology:/software/PDKs/skywater-tech" export OPENRAM_TMP="${{ github.workspace }}/freepdk45" - rm -rf $OPENRAM_TMP - python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 20 -t freepdk45 + python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 16 -t freepdk45 - name: Archive if: ${{ failure() }} uses: actions/upload-artifact@v2