Skip to content

update installer test to use local script #186

update installer test to use local script

update installer test to use local script #186

Workflow file for this run

name: Test and Deploy
on:
push:
branches: [ "main" ]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-24.05
- name: Test Interpreter
run: nix-shell --command "make test-core"
- name: Test Interpreter Browser Port
run: nix-shell --command "make test-core-browser"
- name: Test Book
run: nix-shell --command "make build-book"
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-24.05
- name: Build Site
run: nix-shell --command "make build"
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './site'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
- name: Deploy VSC extension
run: nix-shell --command "make deploy-vsc-ext"
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
OVSX_PAT: ${{ secrets.OVSX_PAT }}