From c846c6c7aad982b3b18114311a87fe7bfbde6cdc Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Fri, 7 Jun 2024 00:57:09 +0100 Subject: [PATCH] CI: Run presto tests in release workflow --- .github/workflows/release.yml | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4a3f0e8a19..1d01b71354 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,39 +52,21 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 30 - services: - postgres: - image: postgres:10 - env: - POSTGRES_DB: test_aiida - POSTGRES_PASSWORD: '' - POSTGRES_HOST_AUTH_METHOD: trust - options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 - ports: - - 5432:5432 - rabbitmq: - image: rabbitmq:3.8.14-management - ports: - - 5672:5672 - - 15672:15672 - steps: - uses: actions/checkout@v4 - name: Install system dependencies run: | sudo apt update - sudo apt install postgresql graphviz + sudo apt install graphviz - name: Install aiida-core uses: ./.github/actions/install-aiida-core + with: + python-version: '3.11' - name: Run sub-set of test suite - run: pytest -sv -k 'requires_rmq' + run: pytest -sv -m presto publish: