Skip to content

Fix update order in Rust cache (#2247) #1951

Fix update order in Rust cache (#2247)

Fix update order in Rust cache (#2247) #1951

Workflow file for this run

name: coverage
on:
push:
branches: [nightly]
jobs:
build:
runs-on: ubuntu-latest
services:
redis:
image: redis
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
postgres:
image: postgres
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: pass
POSTGRES_DB: nautilus
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Common setup
uses: ./.github/actions/common-setup
with:
python-version: "3.11"
- name: Cached test data
id: cached-testdata-large
uses: actions/[email protected]
with:
path: tests/test_data/large
key: ${{ runner.os }}-large-files-${{ hashFiles('tests/test_data/large/checksums.json') }}
restore-keys: ${{ runner.os }}-large-files-
- name: Install Nautilus CLI and run init postgres
run: |
make install-cli
nautilus database init --schema ${{ github.workspace }}/schema/sql
env:
POSTGRES_HOST: localhost
POSTGRES_PORT: 5432
POSTGRES_USERNAME: postgres
POSTGRES_PASSWORD: pass
POSTGRES_DATABASE: nautilus
- name: Run tests with coverage
run: make pytest-coverage
# TODO: Temporarily pause coverage report due pending test data repair
# - name: Upload coverage report
# uses: codecov/codecov-action@v4
# with:
# # fail_ci_if_error: true # leave commented until flakiness improves
# token: ${{ secrets.CODECOV_TOKEN }}
# verbose: true