Skip to content

tests(postgres): remove obsolete file #11

tests(postgres): remove obsolete file

tests(postgres): remove obsolete file #11

Workflow file for this run

name: Test examples
on:
pull_request:
push:
branches:
- master
workflow_dispatch:
env:
NIX_CONFIG: "access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}"
NEW_GITHUB_WORKSPACE: "/home/runner/work/geonix"
jobs:
test-example:
strategy:
fail-fast: false
matrix:
example:
- basic
- basic-process
- postgres
os:
- ubuntu-22.04
# - macos-11
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
# Low limit on unix socket path length is causing the problems with PostgreSQL shell.
- name: Move source code on shorter path
run: |
mv $GITHUB_WORKSPACE $NEW_GITHUB_WORKSPACE
mkdir -p $GITHUB_WORKSPACE
- name: Install nix
uses: cachix/install-nix-action@v26
- name: Test example
run: bash ./test.sh
working-directory: ${{ env.NEW_GITHUB_WORKSPACE }}/examples/${{ matrix.example }}