Skip to content

Check for docker #10624

Check for docker

Check for docker #10624

Workflow file for this run

# Copyright Dave Verwer, Sven A. Schmidt, and other contributors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Continuous Integration
on:
workflow_dispatch:
push:
schedule:
- cron: "0 8 * * *"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-linux:
name: Test
runs-on: ubuntu-latest
container:
image: registry.gitlab.com/finestructure/spi-base:1.1.1
options: --privileged
services:
postgres:
image: postgres:16-alpine
env:
POSTGRES_DB: spi_test
POSTGRES_USER: spi_test
POSTGRES_PASSWORD: xxx
ports:
- '5432:5432'
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: GH Runner bug workaround
run: sysctl -w vm.mmap_rnd_bits=28
- name: Checkout code
uses: actions/checkout@v4
with: { 'fetch-depth': 0 }
- run: docker ps