diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 836b22b9ea..3de910d1f5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -234,70 +234,6 @@ jobs: token: ${{ secrets.CODSPEED_TOKEN }} run: $CONDA/envs/test/bin/pytest --codspeed - # linux memray - linux-memray: - # only run test suite if there are code changes - needs: changes - if: needs.changes.outputs.code == 'true' - - runs-on: ubuntu-latest - defaults: - run: - # https://github.com/conda-incubator/setup-miniconda#use-a-default-shell - shell: bash -el {0} # bash exit immediately on error + login shell - strategy: - fail-fast: false - matrix: - python-version: ['3.12'] - - steps: - - name: Checkout Source - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - with: - fetch-depth: 0 - - - name: Hash + Timestamp - run: echo "HASH=${{ runner.os }}-${{ runner.arch }}-Py${{ matrix.python-version }}-memray-$(date -u "+%Y%m")" >> $GITHUB_ENV - - - name: Cache Conda - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 - with: - path: ~/conda_pkgs_dir - key: cache-${{ env.HASH }} - - - name: Setup Miniconda - uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4 - with: - condarc-file: .github/condarc - run-post: false # skip post cleanup - - - name: Conda Install - run: > - conda install - --yes - --file tests/requirements.txt - --file tests/requirements-${{ runner.os }}.txt - --file tests/requirements-ci.txt - python=${{ matrix.python-version }} - conda-forge::pytest-memray - - # TODO: how can we remove this step? - - name: Install Self - run: pip install -e . - - - name: Conda Info - # view test env info (not base) - run: python -m conda info --verbose - - - name: Conda Config - run: conda config --show-sources - - - name: Conda List - run: conda list --show-channel-urls - - - name: Run memray - run: python -m pytest -k memray --memray - # windows test suite windows: # only run test suite if there are code changes