This repository has been archived by the owner on Oct 21, 2024. It is now read-only.
feat: E2E tests iteration #1 #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Our desired pipeline using only a Nix shell environment | |
name: Check and build Kardinal | |
permissions: | |
id-token: write | |
contents: read | |
on: | |
push: | |
branches: | |
- "*" | |
tags: | |
- "*" | |
pull_request: | |
branches: | |
- main | |
jobs: | |
e2e_tests: | |
name: E2E tests | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v3 | |
- name: Install CLI | |
run: curl get.kardinal.dev -sL | sh | |
- name: Verify kardinal command | |
run: bash -c 'source ~/.bashrc; if kardinal | grep -q "Kardinal CLI"; then exit 0; else exit 1; fi' | |
- name: Start kontrol service and Postgres | |
run: docker-compose -f docker-compose.yml up |