Omnibus #2263
Workflow file for this run
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: Test Mapserver Files | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
build-linux: | |
name: Test Mapserver Files | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Add /etc/hosts entries | |
run: | | |
cat .github/workflows/etchosts.txt | sudo tee -a /etc/hosts | |
- name: Run IEM Database container | |
run: | | |
docker run -d --name iem_database -p 5432:5432 ghcr.io/akrherz/iem_database:test_data | |
until docker exec iem_database pg_isready -h localhost; do | |
sleep 6 | |
done | |
- name: Setup CI from ci-tooling | |
run: | | |
set -e | |
sudo ln -s `pwd` /opt/iem | |
sudo apt-get install mapserver-bin | |
sudo mkdir -p /mesonet/ldmdata/ | |
wget -q http://mesonet.agron.iastate.edu/pickup/ci_msinc.tgz | |
sudo tar -C / -xzf ci_msinc.tgz | |
- name: Run map2img | |
run: | | |
set -e | |
bash tests/run_mapserver.sh |