Skip to content

[ci] Add 'file' to reqs.txt for debian-stable and debian-testing #571

[ci] Add 'file' to reqs.txt for debian-stable and debian-testing

[ci] Add 'file' to reqs.txt for debian-stable and debian-testing #571

Workflow file for this run

name: Alpine Linux
on:
push:
branches: [ main ]
paths-ignore:
- AUTHORS.md
- CC-BY-4.0.txt
- CHANGES.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- COPYING
- COPYING.LIB
- HISTORY
- LICENSE-2.0.txt
- MISSING
- MIT.txt
- README.md
- RELEASE
- TODO
- 'contrib/**'
- 'data/**'
- 'doc/**'
- 'po/**'
- 'regress/**'
jobs:
linux:
# Use containers on their ubuntu latest image
runs-on: ubuntu-latest
# Set up the matrix of distributions to test
strategy:
matrix:
container: ["alpine:latest"]
container:
image: ${{ matrix.container }}
# All of these steps run from within the main source
# directory, so think of that as your $PWD
steps:
# Requirements before the git clone can happen
# (The git config step here is to deal with an unusual
# error seen only on Alpine Linux. You shouldn't normally
# do this.)
- name: git clone requirements
run: |
apk add git
# This means clone the git repo
- uses: actions/checkout@v4
# Within the container, install the dependencies, build,
# and run the test suite
- name: Build and run the test suite
run: |
# Install make(1) so we can use the instreqs target
apk add make
# Install build dependencies and set up the target
make instreqs
# Build the software and run the test suite
make debug
make check
ninja -C build coverage && ( curl -s https://codecov.io/bash | bash ) || :