Skip to content

Commit

Permalink
fix tests.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-shchetinin committed Jul 23, 2024
1 parent d91aa95 commit dcad702
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,23 @@ jobs:
OS: ${{ matrix.os }}-latest
runs-on: ${{ matrix.os }}-latest
steps:
- name: Install dependencies
uses: ./.github/actions/prepare_vm
- name: Prepare ccache timestamp
id: ccache_cache_timestamp
shell: cmake -P {0}
run: |
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
message("::set-output name=timestamp::${current_date}")
- name: Restore cache files
uses: actions/cache/restore@v4
with:
path: ~/.ccache
key: ubuntu-22.04-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
restore-keys: |
ubuntu-22.04-ccache-
- name: Build
uses: ./.github/actions/build
- name: Checkout code
uses: actions/checkout@v4
- name: Run tests
Expand Down Expand Up @@ -68,6 +85,23 @@ jobs:
YDB_SESSIONS_SHUTDOWN_URLS: http://localhost:8765/actors/kqp_proxy?force_shutdown=all
HIDE_APPLICATION_OUTPUT: 1
steps:
- name: Install dependencies
uses: ./.github/actions/prepare_vm
- name: Prepare ccache timestamp
id: ccache_cache_timestamp
shell: cmake -P {0}
run: |
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
message("::set-output name=timestamp::${current_date}")
- name: Restore cache files
uses: actions/cache/restore@v4
with:
path: ~/.ccache
key: ubuntu-22.04-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
restore-keys: |
ubuntu-22.04-ccache-
- name: Build
uses: ./.github/actions/build
- name: Checkout code
uses: actions/checkout@v4
- name: Run tests
Expand Down

0 comments on commit dcad702

Please sign in to comment.