Skip to content

Merge pull request #144 from robots-from-jupyter/rf61 #474

Merge pull request #144 from robots-from-jupyter/rf61

Merge pull request #144 from robots-from-jupyter/rf61 #474

Workflow file for this run

name: "smoketest"
on:
push:
pull_request:
jobs:
smoketest:
runs-on: ubuntu-latest
strategy:
matrix:
robotframework-version: [rf32, rf40, rf41, rf50, rf51, rf60, rf61]
steps:
- uses: actions/checkout@v2.4.0
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
with:
name: robots-from-jupyter
# If you chose signing key for write access
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
# If you chose API tokens for write access OR if you have a private cache
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix-shell setup.nix -A shell --argstr robotframework ${{ matrix.robotframework-version }} --run "make test"
- run: nix-shell setup.nix -A shell --argstr robotframework ${{ matrix.robotframework-version }} --run "python -m robotkernel.install"
- run: nix-shell setup.nix -A shell --argstr robotframework ${{ matrix.robotframework-version }} --run "jupyter nbconvert --execute tests/Smoketest.ipynb --to html"
- run: nix-shell setup.nix -A shell --argstr robotframework ${{ matrix.robotframework-version }} --run "jupyter nbconvert --execute tests/StickyLibraryMagic.ipynb --to html"
- run: nix-shell setup.nix -A shell --argstr robotframework ${{ matrix.robotframework-version }} --run "nbrobot -v BROWSER:headlessfirefox -F ipynb tests atest"
- run: nix-shell --run "echo OK"