Skip to content

2023 09 18 metering #547

2023 09 18 metering

2023 09 18 metering #547

Workflow file for this run

name: run tests
on:
push:
branches:
- develop
pull_request: {}
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
script: ["./test.sh", "./bench.sh"]
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
/nix/store
key: nix-store-${{ hashFiles('default.nix') }}-${{ hashFiles('config.nix') }}-${{ hashFiles('nix') }}
- uses: cachix/install-nix-action@v12
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
substituters = https://cache.nixos.org/ https://cache.holo.host/
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= cache.holo.host-1:lNXIXtJgS9Iuw4Cu6X0HINLu9sTfcjEntnrgwMQIMcE= cache.holo.host-2:ZJCkX3AUYZ8soxTLfTb60g+F3MkWD7hkH9y8CgqwhDQ=
- run: nix-shell --fallback --run ${{ matrix.script }}