CI triggered from @tbro of #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Migration Test | |
run-name: CI triggered from @${{ github.actor }} of ${{ github.head_ref }} | |
on: | |
workflow_dispatch: | |
merge_group: | |
push: | |
schedule: | |
# Run at the end of every day | |
- cron: "0 0 * * *" | |
# Cancel in-progress jobs except for integration branch | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ !contains(github.ref, 'integration/')}} | |
jobs: | |
migration_test: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install Nix | |
uses: cachix/install-nix-action@v30 | |
- name: Enable Cachix | |
uses: cachix/cachix-action@v15 | |
continue-on-error: true | |
with: | |
name: espresso-systems-private | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
extraPullNames: nix-community | |
skipPush: ${{ github.actor == 'dependabot[bot]' }} | |
- name: Migration Test | |
run: | | |
nix develop --accept-flake-config --option sandbox relaxed \ | |
-c espresso-tests/migration-test.bash | |
timeout-minutes: 45 |