Documentation fix deployment #136
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
# Workflow for running tests | |
# | |
# Author: Tomas Dacik (xdacik00@fit.vutbr.cz), 2022 | |
name: tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
# based on https://github.com/ocaml/setup-ocaml | |
- name: Set-up OCaml | |
uses: ocaml/setup-ocaml@v2 | |
with: | |
ocaml-compiler: "5.2" | |
- name: Install dependencies | |
run: opam install --deps-only -y . | |
- name: Build Astral | |
run: opam exec -- dune build | |
- name: Run unit tests | |
run: dune runtest | |
- name: Run regression tests | |
run: python3 scripts/run_tests.py |