Skip to content

Rust completion test passing #244

Rust completion test passing

Rust completion test passing #244

Workflow file for this run

name: codedown-languages
on:
pull_request:
push:
branches: [main]
jobs:
test:
name: test
runs-on: self-hosted
env:
TEST_ROOT: /home/tester/test_runs/${{github.repository}}_${{github.workflow}}_${{github.run_number}}
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Build tests
run: |
cd tests
export NIX_PATH=nixpkgs=$(nix eval --raw .#nixpkgsPath.x86_64-linux)
export PATH=$(nix build --no-link .#stack.x86_64-linux --json | jq -r '.[0].outputs.out')/bin:$PATH
echo "Got path: $PATH"
stack build --nix --no-nix-pure
- name: Run tests
run: |
cd tests
export NIX_PATH=nixpkgs=$(nix eval --raw .#nixpkgsPath.x86_64-linux)
export PATH=$(nix build --no-link .#stack.x86_64-linux --json | jq -r '.[0].outputs.out')/bin:$PATH
stack run --nix --no-nix-pure -- \
--print-failures \
--fixed-root "$TEST_ROOT" \
--markdown-summary "$GITHUB_STEP_SUMMARY"