Skip to content

GH-142: Pin satysfi version in CI #800

GH-142: Pin satysfi version in CI

GH-142: Pin satysfi version in CI #800

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
unit-test:
name: unit tests
runs-on: ubuntu-latest
strategy:
matrix:
version: [
0.0.5,
0.0.6,
0.0.7,
0.0.8,
0.0.9-6-ge0304803,
0.0.10,
0.0.11
]
container:
image: amutake/satysfi:${{ matrix.version }}
steps:
- uses: actions/checkout@v1
- name: Install Satyrographos dependencies
run: |
export HOME=/root
eval $(opam env)
opam update
opam pin add satysfi satysfi ${{ matrix.satysfi-version }}
opam pin add satysfi-base.opam "file://${PWD}"
satyrographos install -l base
- name: Run tests
run: |
export HOME=/root
eval $(opam env)
cd test && sh run-test.sh -v
- if: always()
name: Install Apt dependencies
run: apt-get update && apt-get install -y xz-utils liblzma-dev
- if: ${{ failure() }}
name: Upload artifact
uses: actions/upload-artifact@master
with:
name: satysfi-test-report-${{ matrix.version }}
path: test/report.txt
regression-test:
name: Regression tests
runs-on: ubuntu-latest
container:
image: zeptometer/satysfi-yarn-diff-pdf:latest
strategy:
matrix:
satysfi-version:
[
0.0.5,
0.0.6,
0.0.7,
]
steps:
- uses: actions/checkout@v1
- name: Install Yarn dependencies
run: yarn install
- name: Install Satyrographos dependencies
run: |
export HOME=/root
eval $(opam env)
opam update
opam pin add satysfi ${{ matrix.satysfi-version }}
opam pin add satysfi-base.opam "file://${PWD}"
satyrographos install -l base
- name: Run regression tests
run: |
export HOME=/root
eval $(opam env)
yarn test --ci