Skip to content

Commit

Permalink
Removed the step to store artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
avpaderno committed Feb 16, 2025
1 parent f71013b commit 4f05bc9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/simpletest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ jobs:
simpletest:
name: Test code
runs-on: ubuntu-22.04
# Skip this job if the PR title contains "[skip tests]".
if: ${{ !contains(github.event.pull_request.title, '[skip tests]') }}
timeout-minutes: 20
strategy:
fail-fast: false
steps:
- name: Set up environment variables
run: |
Expand Down Expand Up @@ -59,10 +64,3 @@ jobs:
- name: Run tests
run: core/scripts/run-tests.sh --force --directory=modules/${{ env.REPO_NAME }} --verbose --concurrency=color --concurrency=7 --cache 2>&1

- name: Save test results
uses: actions/upload-artifact@v4
if: always()
with:
name: simpletest-${{ env.PHP_VERSION }}
path: files/simpletest/verbose
2 changes: 1 addition & 1 deletion includes/apc_storage_queue.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class ApcStorageQueue implements BackdropQueueInterface {

// If the previously set lease time has expired, reset the expiration
// time.
elseif (!empty($item['value']->expire) && $item['value']->expire < time()) {
if (!empty($item['value']->expire) && $item['value']->expire < time()) {
$item['value']->expire = 0;
}

Expand Down

0 comments on commit 4f05bc9

Please sign in to comment.