Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/single-redis-oldest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,35 +43,35 @@ jobs:
path: ~/redis
key: redis-${{ hashFiles('.download-redis.sh') }}
- name: Setup environment
uses: fizyk/actions-reuse/.github/actions/pipenv-setup@v4.4.7
uses: fizyk/actions-reuse/.github/actions/pipenv-setup@v5.0.0
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install oldest supported versions
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.4.7
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v5.0.0
with:
command: pip install -r oldest/requirements.txt
- name: Run test on Redis ${{ matrix.redis-version }}
id: run_serial_tests
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.4.7
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v5.0.0
with:
command: python -m coverage run -m pytest -c pyproject.oldest.toml -p no:xdist --redis-exec=$HOME/redis/redis-${{ matrix.redis-version }}/src/redis-server
env: '{"COVERAGE_PROCESS_START": ".coveragerc", "COVERAGE_FILE": ".coverage.serial"}'
- name: Combine and export serial coverage
if: ${{ always() && (steps.run_serial_tests.conclusion == 'success' || steps.run_serial_tests.conclusion == 'failure') }}
uses: fizyk/actions-reuse/.github/actions/coverage-combine-export@v4.4.7
uses: fizyk/actions-reuse/.github/actions/coverage-combine-export@v5.0.0
with:
data-file: .coverage.serial
output-file: coverage.xml
- name: Run xdist test on Redis ${{ matrix.redis-version }}
id: run_xdist_tests
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.4.7
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v5.0.0
with:
command: python -m coverage run -m pytest -c pyproject.oldest.toml -n auto --max-worker-restart=0 --redis-exec=$HOME/redis/redis-${{ matrix.redis-version }}/src/redis-server
env: '{"COVERAGE_PROCESS_START": ".coveragerc", "COVERAGE_FILE": ".coverage.xdist"}'
- name: Combine and export xdist coverage
if: ${{ always() && (steps.run_xdist_tests.conclusion == 'success' || steps.run_xdist_tests.conclusion == 'failure') }}
uses: fizyk/actions-reuse/.github/actions/coverage-combine-export@v4.4.7
uses: fizyk/actions-reuse/.github/actions/coverage-combine-export@v5.0.0
with:
data-file: .coverage.xdist
output-file: coverage-xdist.xml
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/single-redis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,27 +44,27 @@ jobs:
key: redis-${{ hashFiles('.download-redis.sh') }}
- name: Run test on Redis ${{ matrix.redis-version }}
id: run_serial_tests
uses: fizyk/actions-reuse/.github/actions/pipenv@v4.4.7
uses: fizyk/actions-reuse/.github/actions/pipenv@v5.0.0
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
command: python -m coverage run -m pytest -p no:xdist --redis-exec=$HOME/redis/redis-${{ matrix.redis-version }}/src/redis-server
env: '{"COVERAGE_PROCESS_START": ".coveragerc", "COVERAGE_FILE": ".coverage.serial"}'
- name: Combine and export serial coverage
if: ${{ always() && (steps.run_serial_tests.conclusion == 'success' || steps.run_serial_tests.conclusion == 'failure') }}
uses: fizyk/actions-reuse/.github/actions/coverage-combine-export@v4.4.7
uses: fizyk/actions-reuse/.github/actions/coverage-combine-export@v5.0.0
with:
data-file: .coverage.serial
output-file: coverage.xml
- name: Run xdist test on Redis ${{ matrix.redis-version }}
id: run_xdist_tests
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.4.7
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v5.0.0
with:
command: python -m coverage run -m pytest -n auto --max-worker-restart=0 --redis-exec=$HOME/redis/redis-${{ matrix.redis-version }}/src/redis-server
env: '{"COVERAGE_PROCESS_START": ".coveragerc", "COVERAGE_FILE": ".coverage.xdist"}'
- name: Combine and export xdist coverage
if: ${{ always() && (steps.run_xdist_tests.conclusion == 'success' || steps.run_xdist_tests.conclusion == 'failure') }}
uses: fizyk/actions-reuse/.github/actions/coverage-combine-export@v4.4.7
uses: fizyk/actions-reuse/.github/actions/coverage-combine-export@v5.0.0
with:
data-file: .coverage.xdist
output-file: coverage-xdist.xml
Expand Down
Loading