Skip to content

Fixed up the sitemap test for the new linkable paths format. #6947

Fixed up the sitemap test for the new linkable paths format.

Fixed up the sitemap test for the new linkable paths format. #6947

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:
jobs:
test-linux:
name: Test
runs-on: ubuntu-latest
container:
image: registry.gitlab.com/finestructure/spi-base:0.11.0
services:
postgres:
image: postgres:13.8-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: Checkout code
uses: actions/checkout@v3
- name: Install unzip
run: apt-get update && apt-get install -y unzip
- name: Run tests
run: cp .env.testing.template .env.testing && make test
env:
COLLECTION_SIGNING_PRIVATE_KEY: ${{ secrets.COLLECTION_SIGNING_PRIVATE_KEY }}
DATABASE_HOST: postgres
DATABASE_PORT: '5432'
# test-macos:
# name: Test macOS
# runs-on: macOS-latest
# services:
# postgres:
# image: postgres:13.8
# env:
# POSTGRES_DB: spi_dev
# POSTGRES_USER: spi_dev
# POSTGRES_PASSWORD: xxx
# ports:
# - 5432:5432
# options: >-
# --health-cmd pg_isready
# --health-interval 10s
# --health-timeout 5s
# --health-retries 5
# steps:
# - uses: actions/checkout@v3
# - name: Select Xcode 11.4
# run: sudo xcode-select -s /Applications/Xcode_11.4.app
# - name: Log Xcode version
# run: /usr/bin/xcodebuild -version
# - name: Run tests
# run: make test
# env:
# DATABASE_HOST: postgres
# DATABASE_PORT: 5432