Skip to content

.github/workflows/main.yml #202

.github/workflows/main.yml

.github/workflows/main.yml #202

Workflow file for this run

on:
push:
schedule:
- cron: '28 3 * * *' # every day
jobs:
build-and-run:
runs-on: ubuntu-latest
name: Run tests against the latest git binary from Arch Linux
steps:
- name: Check out
uses: actions/checkout@v3
- name: Build Arch Linux docker image
uses: docker/build-push-action@v4
with:
context: .
file: ci/Dockerfile
push: false
tags: test-image:latest
- name: Run tests in Arch Linux docker against recent git
uses: addnab/docker-run-action@v3
with:
image: test-image:latest
run: python3 /opt/test/src/test_git_meld_index.py
build-and-run-with-old-git:
runs-on: ubuntu-latest
name: Run tests against an older git binary from Debian
steps:
- name: Check out
uses: actions/checkout@v3
- name: Build Debian docker image
uses: docker/build-push-action@v4
with:
context: .
file: ci/Dockerfile.debian
push: false
tags: test-image:latest
- name: Run tests in Debian docker against older git
uses: addnab/docker-run-action@v3
with:
image: test-image:latest
run: python3 /opt/test/src/test_git_meld_index.py