GDAL spec refactoring #501
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
name: CI | |
on: | |
push: | |
branches: [master, develop] | |
pull_request: | |
branches: [master] | |
jobs: | |
Perfecto: | |
name: Perfecto | |
runs-on: ubuntu-latest | |
steps: | |
- name: Code checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run Perfecto docker image | |
uses: docker://ghcr.io/essentialkaos/perfecto:ol8 | |
with: | |
args: --version | |
- name: Install perfecto-container | |
run: | | |
wget https://kaos.sh/perfecto/perfecto-container | |
chmod +x perfecto-container | |
- name: Run Perfecto check | |
env: | |
IMAGE: ghcr.io/essentialkaos/perfecto:ol8 | |
run: ./perfecto-container -A PF20 $(git diff --name-status origin/master | tr '\t' ' ' | grep -Ev '(^D| test/)' | grep '\.spec' | rev | cut -f1 -d' ' | rev | sort) | |
Bibop: | |
name: Bibop | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup PATH | |
run: | | |
echo "${{ github.workspace }}" >> "$GITHUB_PATH" | |
- name: Code checkout | |
uses: actions/checkout@v3 | |
- name: Install bibop and bibop-massive | |
run: | | |
wget https://apps.kaos.st/bibop/latest/linux/x86_64/bibop | |
wget https://kaos.sh/bibop/scripts/bibop-massive | |
chmod +x bibop bibop-massive | |
bibop -v | |
bibop-massive -v | |
- name: Run bibop recipes validation | |
env: | |
TERM: xterm-256color | |
run: bibop-massive -V tests |