diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f842e808..81e1b1d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,34 +24,18 @@ jobs: - uses: actions/checkout@main with: fetch-depth: 1 - - - name: Get Miniconda (Ubuntu) - if: matrix.os == 'ubuntu-latest' - run: | - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O $HOME/miniconda.sh; - bash $HOME/miniconda.sh -b -p $HOME/miniconda - - - name: Get Miniconda (Mac OS) - if: matrix.os == 'macos-latest' - run: | - wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O $HOME/miniconda.sh; - bash $HOME/miniconda.sh -b -p $HOME/miniconda - - - name: Setup Environment - run: | - export PATH="$HOME/miniconda/bin:$PATH" - ./ci/install_conda.sh + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} - name: Install run: | - export PATH="$HOME/miniconda/bin:$PATH" - source activate ${ENV_NAME} - pip install . + pip install --upgrade pip + pip install .[tests] - name: Run Tests run: | - export PATH="$HOME/miniconda/bin:$PATH" - source activate $ENV_NAME pytest --cov-report xml:./coverage.xml - name: Upload Coverage (Ubuntu)