Skip to content

Commit

Permalink
ci: Span matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
jannisborn committed Oct 3, 2024
1 parent 1f07379 commit 0722edc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,20 @@ jobs:
uses: actions/cache@v2
with:
path: ~/conda_pkgs_dir # from: conda-incubator/setup-miniconda@v2
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
key: ${{ runner.os }}-conda-${{ matrix.python-version }}-${{ env.CACHE_NUMBER }}-${{
hashFiles('conda.yml') }}

- name: Cache pip
uses: actions/cache@v2
with:
path: ${{ matrix.pip_cache_path }}
key: ${{ runner.os }}-pip--${{ env.CACHE_NUMBER }}-${{
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ env.CACHE_NUMBER }}-${{
hashFiles('requirements.txt') }}

- name: Conda environment setup
uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ matrix.python-version }}
activate-environment: pytoda
environment-file: conda.yml
auto-activate-base: false
Expand All @@ -73,7 +74,7 @@ jobs:
if: always()
with:
status: ${{ job.status }}
text: "CI Build ${{ matrix.os }}"
text: "CI Build ${{ matrix.os }} Python ${{ matrix.python-version}}"
author_name: ${{ github.actor }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
Expand Down

0 comments on commit 0722edc

Please sign in to comment.