1
1
mirror of https://github.com/nmattia/niv.git synced 2024-11-12 11:46:26 +03:00
niv/.github/workflows/test.yml
Nikola Knezevic 94dadba1a3 Start testing on Ubuntu 20.04
GitHub will soon change `ubuntu-latest` label to refer to Ubuntu 20.04:

https://github.blog/changelog/2020-10-29-github-actions-ubuntu-latest-workflows-will-use-ubuntu-20-04/

Thus, to ensure `niv` will work there as well, this adds a matrix run on
ubuntu-20.04.
2021-01-08 16:38:56 +01:00

20 lines
399 B
YAML

name: "Test"
on:
pull_request:
push:
branches:
- master
jobs:
tests:
strategy:
matrix:
os: [ubuntu-18.04, ubuntu-20.04, macos-10.15]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: './.github/actions/nix'
with:
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
- name: "Run tests"
run: ./script/test