Skip to content

2023 08 29 flake

2023 08 29 flake #540

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@v3
- name: Install nix
uses: cachix/install-nix-action@v20
- name: Setup cachix
uses: cachix/cachix-action@v12
if: ${{ ! contains(matrix.platform.runs-on, 'self-hosted') }}
with:
name: holochain-ci
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
installCommand: |
nix-env -if https://github.com/cachix/cachix/tarball/${CACHIX_REV} \
--substituters 'https://cache.nixos.org https://cachix.cachix.org' \
--trusted-public-keys 'cachix.cachix.org-1:eWNHQldwUO7G2VkjpnjDbWwy4KQ/HNxht7H4SSoMckM= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY='
- run: nix develop --command ${{ matrix.script }}