Skip to content

Commit

Permalink
CI: run tests on pull requests (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilason authored Jul 27, 2023
1 parent 1f6a624 commit 4efe5d0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
---
name: Build on Ubuntu
on: [push]

on:
- push
- pull_request

jobs:
build:
Expand All @@ -12,12 +16,12 @@ jobs:
sudo apt-get update -y
sudo apt-get install -y wget git gawk findutils
xargs -a <(awk '! /^ *(#|$)/' ".github/workflows/apt.txt") -r -- \
sudo apt-get install -y --no-install-recommends --no-install-suggests
sudo apt-get install -y --no-install-recommends \
--no-install-suggests
- name: Create GDAL_AUTOLOAD directory
run: |
mkdir $HOME/gdalplugins
- name: Build
run: .github/workflows/build_ubuntu.sh $HOME/gdalplugins
- name: Test executing of GDAL with driver on GRASS maps
run: .github/workflows/test_simple.sh $HOME/gdalplugins

0 comments on commit 4efe5d0

Please sign in to comment.