Boulder-Investment-Technologies/lppls

Support for Windows

Closed this issue · 6 comments

Currently we only platform test for ubuntu-latest. Could we expand the yml to include windows-latest?

Yeah, definitely, is that as simple as adding it to the .yml?

Yep. You can test ubuntu-latest and windows-latest like this for example:

  job1:
    runs-on: ubuntu-latest
    steps:
    - id: step1
      run: echo "::set-output name=test::lppls for ubuntu"

  job2:
    runs-on: windows-latest
    steps:
    - id: step1
      run: echo "::set-output name=test::lppls for windows"

If you want to get fancy with supporting multiple python versions on each, then it looks more like this:

  job1:
    runs-on: ubuntu-latest
    strategy:
          matrix:
            python-version: [3.6, 3.7, 3.8]
    steps:
    - id: step1
      run: echo "::set-output name=test::lppls for ubuntu"

  job2:
    runs-on: windows-latest
    strategy:
          matrix:
            python-version: [3.6, 3.7, 3.8]
    steps:
    - id: step1
      run: echo "::set-output name=test::lppls for windows"

What you've made here is really great @Joshwani , and I think it will get some well deserved exposure if we expand the platform/version support like this. :)

Thanks @nightvision04! I appreciate all your help.