---
name: "Package installation"

on:
  push:
    branches:
      - master

jobs:
  install:
    strategy:
      matrix:
        os: ["ubuntu-latest", "windows-latest", "macos-latest"]
    name: "Verify that package can be installed"
    runs-on: "${{ matrix.os }}"
    steps:
      - uses: "actions/checkout@v2"
      - uses: "actions/setup-python@v2"
        with:
          python-version: "3.8"
      - name: "Install yacfg"
        run: "python setup.py install"
      - name: "Run help"
        run: "yacfg --help"
