Action to install vcomp140.dll on Windows

Hi there!

I am using Github Actions to create a testing workflow, in which Python Anaconda and some dependencies need to be installed on a Windows system. Some of these dependencies require a shared library for running: vcomp140.dll or some alternative like libgomp-1.dll.

Is there a way to install vcomp140.dll from a script in Windows? I have tried with a chocolatey action, and although the install seems to work alright, I still get the same missing library issue. Maybe a machine reboot is required, but as far as I know this is not possible in Github runners.

Here is the full YAML for the Github Action I’m creating, in case it helps. Although I run the tests under several OS, the only one with issues is Windows.

name: Test the environment under different operative systems and python configurations

on: [push]

jobs:
  test-environment:
    runs-on: ${{ matrix.os }}
    strategy:
      max-parallel: 5
      matrix:
        os: [ubuntu-latest, macos-latest, windows-latest]
        python-version: [3.6]

    name: ${{ matrix.os }} python ${{ matrix.python-version }} test
    steps:
    - uses: actions/checkout@v2
    
    - name: Check Windows architecture
      if: ${{ matrix.os == 'windows-latest'}} 
      run: |
        wmic os get osarchitecture
    
    - name: Install VS C++ Distributables
      uses: crazy-max/ghaction-chocolatey@v1.4.0
      if: ${{ matrix.os == 'windows-latest'}} 
      with: 
        args: install vcredist140
      
    - name: Setup conda
      uses: s-weigand/setup-conda@v1
      with:
        python-version: ${{ matrix.python-version }}
    - name: Install dependencies
      run: |
        conda env update --file environment.yml --name base
        
    - name: Test with pytest
      run: |
        conda install pytest && conda info && conda env list && conda list && which python && which pytest && pytest tests.py