diff --git a/.github/workflows/test-with-edm.yml b/.github/workflows/test-with-edm.yml index 28b9756..641f664 100644 --- a/.github/workflows/test-with-edm.yml +++ b/.github/workflows/test-with-edm.yml @@ -3,7 +3,9 @@ name: Test with EDM on: [pull_request, workflow_dispatch] env: - INSTALL_EDM_VERSION: 3.3.1 + INSTALL_EDM_VERSION: 4.1.7 + # No macOS build of EDM 4.1.7 exists (EDM is supported on Linux and Windows); macOS keeps the last version that has one. + INSTALL_EDM_VERSION_MACOS: 3.3.1 jobs: @@ -17,9 +19,9 @@ jobs: steps: - name: Set up EDM - uses: enthought/setup-edm-action@v1 + uses: enthought/setup-edm-action@v4.2 with: - edm-version: ${{ env.INSTALL_EDM_VERSION }} + edm-version: ${{ runner.os == 'macOS' && env.INSTALL_EDM_VERSION_MACOS || env.INSTALL_EDM_VERSION }} - name: Check out the repository uses: actions/checkout@v2