name: Test macro feature on: workflow_dispatch: push: branches: [ master ] paths-ignore: - README - NEWS permissions: # added using https://github.com/step-security/secure-workflows contents: read jobs: build: name: Test macro feature runs-on: ubuntu-latest steps: - name: Harden Runner uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Install dependencies run: sudo apt-get update -qq && sudo apt-get install -y libyaml-dev - name: Autogen && configure run: | ./autogen.sh ./configure --enable-macros - name: Make run: make - name: Make check run: make check - name: Store the test log if: ${{ always() }} # store the test log even if the tests failed uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: test-suite-macro.log path: tests/test-suite.log