From fdc248e1023dbafad873931c1daf075f3d3a1151 Mon Sep 17 00:00:00 2001 From: Ken Odegard Date: Sat, 30 Sep 2023 10:49:00 -0500 Subject: [PATCH] YAML multiline string --- .github/workflows/tests.yml | 84 ++++++++++++++++++------------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3193b664c5..0a3e24dd73 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -116,12 +116,12 @@ jobs: run-post: false # skip post cleanup - name: Setup Environment - run: | - conda install --quiet --yes \ - --file tests/requirements.txt \ - --file tests/requirements-${{ runner.os }}.txt \ + run: >- + conda install --quiet --yes + --file tests/requirements.txt + --file tests/requirements-${{ runner.os }}.txt ${{ env.CONDA_CHANNEL_LABEL }}::conda - pip install -e . + && pip install -e . - name: Show Info run: | @@ -129,15 +129,15 @@ jobs: conda list --show-channel-urls - name: Run Tests - run: | - pytest \ - --alluredir="${{ env.ALLURE_DIR }}" \ - --basetemp="${{ runner.temp }}/${{ matrix.test-type }}" \ - --cov=conda_build \ - --durations-path="tools/durations/${{ runner.os }}.json" \ - --group=${{ matrix.test-group }} \ - --splits=${{ env.PYTEST_SPLITS }} \ - -n "${{ env.PYTEST_NUMPROCESSES }}" \ + run: >- + pytest + --alluredir="${{ env.ALLURE_DIR }}" + --basetemp="${{ runner.temp }}/${{ matrix.test-type }}" + --cov=conda_build + --durations-path="tools/durations/${{ runner.os }}.json" + --group=${{ matrix.test-group }} + --splits=${{ env.PYTEST_SPLITS }} + -n "${{ env.PYTEST_NUMPROCESSES }}" -m "${{ env.PYTEST_MARKER }}" - name: Upload Coverage @@ -220,13 +220,13 @@ jobs: run-post: false # skip post cleanup - name: Setup Environment - run: | + run: >- choco install visualstudio2017-workload-vctools - conda install --quiet --yes ` - --file tests\requirements.txt ` - --file tests\requirements-${{ runner.os }}.txt ` + && conda install --quiet --yes + --file tests\requirements.txt + --file tests\requirements-${{ runner.os }}.txt ${{ env.CONDA_CHANNEL_LABEL }}::conda - pip install -e . + && pip install -e . - name: Show Info run: | @@ -234,15 +234,15 @@ jobs: conda list --show-channel-urls - name: Run Tests - run: | - pytest ` - --alluredir="${{ env.ALLURE_DIR }}" ` - --basetemp="${{ runner.temp }}\${{ matrix.test-type }}" ` - --cov=conda_build ` - --durations-path="tools\durations\${{ runner.os }}.json" ` - --group=${{ matrix.test-group }} ` - --splits=${{ env.PYTEST_SPLITS }} ` - -m "${{ env.PYTEST_MARKER }}" ` + run: >- + pytest + --alluredir="${{ env.ALLURE_DIR }}" + --basetemp="${{ runner.temp }}\${{ matrix.test-type }}" + --cov=conda_build + --durations-path="tools\durations\${{ runner.os }}.json" + --group=${{ matrix.test-group }} + --splits=${{ env.PYTEST_SPLITS }} + -m "${{ env.PYTEST_MARKER }}" -n "${{ env.PYTEST_NUMPROCESSES }}" - name: Upload Coverage @@ -332,13 +332,13 @@ jobs: run-post: false # skip post cleanup - name: Setup Environment - run: | + run: >- sudo xcode-select --switch /Applications/Xcode_11.7.app - conda install --quiet --yes \ - --file tests/requirements.txt \ - --file tests/requirements-${{ runner.os }}.txt \ + && conda install --quiet --yes + --file tests/requirements.txt + --file tests/requirements-${{ runner.os }}.txt ${{ env.CONDA_CHANNEL_LABEL }}::conda - pip install -e . + && pip install -e . - name: Show Info run: | @@ -346,15 +346,15 @@ jobs: conda list --show-channel-urls - name: Run Tests - run: | - pytest \ - --alluredir="${{ env.ALLURE_DIR }}" \ - --basetemp="${{ runner.temp }}/${{ matrix.test-type }}" \ - --cov=conda_build \ - --durations-path=tools/durations/${{ runner.os }}.json \ - --group=${{ matrix.test-group }} \ - --splits=${{ env.PYTEST_SPLITS }} \ - -m "${{ env.PYTEST_MARKER }}" \ + run: >- + pytest + --alluredir="${{ env.ALLURE_DIR }}" + --basetemp="${{ runner.temp }}/${{ matrix.test-type }}" + --cov=conda_build + --durations-path=tools/durations/${{ runner.os }}.json + --group=${{ matrix.test-group }} + --splits=${{ env.PYTEST_SPLITS }} + -m "${{ env.PYTEST_MARKER }}" -n "${{ env.PYTEST_NUMPROCESSES }}" - name: Upload Coverage