Skip to content

Run devenv tests

Run devenv tests #8

name: Run devenv tests
on:
workflow_dispatch:
inputs:
nixpkgs-input:
description: "Nixpkgs input to use"
required: false
default: "github:cachix/devenv-nixpkgs/main"
type: string
workflow_call:
inputs:
nixpkgs-input:
description: "Nixpkgs input to use"
required: false
default: "github:cachix/devenv-nixpkgs/main"
type: string
jobs:
tests:
strategy:
fail-fast: false
matrix:
include:
- os: [self-hosted, linux, ARM64]
system: aarch64-linux
- os: [self-hosted, linux, X64]
system: x86_64-linux
- os: [self-hosted, macOS, ARM64]
system: aarch64-darwin
uses: cachix/devenv/.github/workflows/test.yml@main
with:
repository: cachix/devenv
nixpkgs-input: ${{ inputs.nixpkgs-input }}
system: ${{ matrix.system }}
runs-on: ${{ toJSON(matrix.os) }}
secrets: inherit
examples:
strategy:
fail-fast: false
matrix:
include:
- os: [self-hosted, linux, ARM64]
system: aarch64-linux
- os: [self-hosted, linux, X64]
system: x86_64-linux
- os: [self-hosted, macOS, ARM64]
system: aarch64-darwin
uses: cachix/devenv/.github/workflows/examples.yml@main
with:
repository: cachix/devenv
nixpkgs-input: ${{ inputs.nixpkgs-input }}
system: ${{ matrix.system }}
runs-on: ${{ toJSON(matrix.os) }}
secrets: inherit