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: Integration Tests | |
on: | |
pull_request: | |
branches: | |
- 'ubuntu/**' | |
concurrency: | |
group: 'ci-${{ github.workflow }}-${{ github.ref }}' | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: sh -ex {0} | |
env: | |
RELEASE: focal | |
jobs: | |
quilt-patch-apply: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v3 | |
with: | |
# Fetch all branches for merging | |
fetch-depth: 0 | |
- name: "Prepare dependencies" | |
run: | | |
sudo DEBIAN_FRONTEND=noninteractive apt-get update | |
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install tox quilt | |
- name: "Setup quilt environment" | |
run: | | |
echo 'QUILT_PATCHES=debian/patches' >> ~/.quiltrc | |
echo 'QUILT_SERIES=debian/patches/series' >> ~/.quiltrc | |
- name: Exercise daily recipe PPA builds | |
run: | | |
git remote -v | |
git config user.name "GitHub Actions" | |
git config user.email "[email protected]" | |
git fetch --depth=0 origin main | |
git checkout main | |
git merge ${{ github.head_ref }} | |
quilt push -a | |
tox -e py3 | |
quilt pop -a |