Skip to content

Commit

Permalink
run without caches to compare execution time of test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
bgunnar5 committed Sep 24, 2024
1 parent 917f8d7 commit 91c7505
Showing 1 changed file with 36 additions and 36 deletions.
72 changes: 36 additions & 36 deletions .github/workflows/push-pr_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,25 +101,25 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Cache Python dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('requirements/release.txt') }}-${{ hashFiles('requirements/dev.txt') }}
# - name: Cache Python dependencies
# uses: actions/cache@v2
# with:
# path: ~/.cache/pip
# key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('requirements/release.txt') }}-${{ hashFiles('requirements/dev.txt') }}

- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip3 install -r requirements/dev.txt
- name: Cache Singularity build artifacts
uses: actions/cache@v2
with:
path: |
${{ github.workspace }}/singularity-ce-$SINGULARITY_VERSION
/usr/local/go
key: ${{ runner.os }}-singularity-${{ hashFiles('requirements/release.txt') }}-${{ hashFiles('requirements/dev.txt') }}
# - name: Cache Singularity build artifacts
# uses: actions/cache@v2
# with:
# path: |
# ${{ github.workspace }}/singularity-ce-$SINGULARITY_VERSION
# /usr/local/go
# key: ${{ runner.os }}-singularity-${{ hashFiles('requirements/release.txt') }}-${{ hashFiles('requirements/dev.txt') }}

- name: Install singularity
run: |
Expand Down Expand Up @@ -172,25 +172,25 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Cache Python dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('requirements/release.txt') }}-${{ hashFiles('requirements/dev.txt') }}
# - name: Cache Python dependencies
# uses: actions/cache@v2
# with:
# path: ~/.cache/pip
# key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('requirements/release.txt') }}-${{ hashFiles('requirements/dev.txt') }}

- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip3 install -r requirements/dev.txt
- name: Cache Singularity build artifacts
uses: actions/cache@v2
with:
path: |
${{ github.workspace }}/singularity-ce-$SINGULARITY_VERSION
/usr/local/go
key: ${{ runner.os }}-singularity-${{ hashFiles('requirements/release.txt') }}-${{ hashFiles('requirements/dev.txt') }}
# - name: Cache Singularity build artifacts
# uses: actions/cache@v2
# with:
# path: |
# ${{ github.workspace }}/singularity-ce-$SINGULARITY_VERSION
# /usr/local/go
# key: ${{ runner.os }}-singularity-${{ hashFiles('requirements/release.txt') }}-${{ hashFiles('requirements/dev.txt') }}

- name: Install singularity
run: |
Expand Down Expand Up @@ -256,11 +256,11 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Cache Python dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('requirements/release.txt') }}-${{ hashFiles('requirements/dev.txt') }}
# - name: Cache Python dependencies
# uses: actions/cache@v2
# with:
# path: ~/.cache/pip
# key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('requirements/release.txt') }}-${{ hashFiles('requirements/dev.txt') }}

- name: Install dependencies
run: |
Expand All @@ -273,13 +273,13 @@ jobs:
pip3 install -e .
merlin config
- name: Cache Singularity build artifacts
uses: actions/cache@v2
with:
path: |
${{ github.workspace }}/singularity-ce-$SINGULARITY_VERSION
/usr/local/go
key: ${{ runner.os }}-singularity-${{ hashFiles('requirements/release.txt') }}-${{ hashFiles('requirements/dev.txt') }}
# - name: Cache Singularity build artifacts
# uses: actions/cache@v2
# with:
# path: |
# ${{ github.workspace }}/singularity-ce-$SINGULARITY_VERSION
# /usr/local/go
# key: ${{ runner.os }}-singularity-${{ hashFiles('requirements/release.txt') }}-${{ hashFiles('requirements/dev.txt') }}

- name: Install singularity
run: |
Expand Down

0 comments on commit 91c7505

Please sign in to comment.