Skip to content

Bleeding Edge dependencies #95

Bleeding Edge dependencies

Bleeding Edge dependencies #95

Workflow file for this run

name: Bleeding Edge dependencies
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
schedule:
- cron: '0 0 * * 5'
env:
INSTALL_EDM_VERSION: 3.7.0
jobs:
# Test against EDM packages
test-bleeding-edge:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runtime: ['3.8']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Cache EDM packages
uses: actions/cache@v4
with:
path: ~/.cache
key: ${{ runner.os }}-${{ hashFiles('etstool.py') }}
- name: Set up EDM
uses: enthought/setup-edm-action@v3
with:
edm-version: ${{ env.INSTALL_EDM_VERSION }}
- name: Install click to the default EDM environment
run: edm install -y wheel click coverage
- name: Install test environment
run: edm run -- python etstool.py install --runtime ${{ matrix.runtime }} --environment scimath-test
- name: Remove dependencies obtained with edm
run: |
edm plumbing remove-package --environment scimath-test traits
edm plumbing remove-package --environment scimath-test scipy
- name: Re-install dependencies using pip
run: |
edm run --environment scimath-test -- python -m pip install --force-reinstall "git+http://github.com/enthought/traits.git#egg=traits"
edm run --environment scimath-test -- python -m pip install --force-reinstall scipy
- name: Run tests
run: edm run -- python etstool.py test --runtime=${{ matrix.runtime }} --environment scimath-test