Skip to content

Commit

Permalink
CI: Run presto tests in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhollas committed Jun 6, 2024
1 parent 8cf2a5d commit c846c6c
Showing 1 changed file with 4 additions and 22 deletions.
26 changes: 4 additions & 22 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit c846c6c

Please sign in to comment.