From 8e431c07492651a7254f5e046502cb8788c06717 Mon Sep 17 00:00:00 2001 From: Jacob Hummer Date: Wed, 16 Aug 2023 00:25:43 -0500 Subject: [PATCH] Create test-feature.yml --- .github/workflows/test-feature.yml | 37 ++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/test-feature.yml diff --git a/.github/workflows/test-feature.yml b/.github/workflows/test-feature.yml new file mode 100644 index 0000000..bb04a54 --- /dev/null +++ b/.github/workflows/test-feature.yml @@ -0,0 +1,37 @@ +name: Test feature +on: + push: + branches: "main" + paths-ignore: + - .gitignore + - LICENSE + - README.md + - .github/** + - "!.github/workflows/test-feature.yml" + pull_request: + paths-ignore: + - .gitignore + - LICENSE + - README.md + - .github/** + - "!.github/workflows/test-feature.yml" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true +jobs: + test-feature: + strategy: + fail-fast: false + matrix: + include: + - image: mcr.microsoft.com/devcontainers/base:ubuntu + options: '{ "version": "13" }' + - image: debian:bookworm-slim + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: npm install -g @devcontainers/cli + - run: bash test.sh "$IMAGE" "$OPTIONS" + env: + IMAGE: ${{ matrix.image }} + OPTIONS: ${{ matrix.options }}