Skip to content

ci: add ubuntu 24.04 #143

ci: add ubuntu 24.04

ci: add ubuntu 24.04 #143

name: Specs in Docker
on:
pull_request:
push:
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@master
- name: Cache Docker layers
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
- name: Build gdal2 image
run: |
docker compose version
docker compose build gdal2
- name: Run specs
run: docker compose run --rm gdal2 bundle exec rspec spec --format RSpec::Github::Formatter --format progress