Skip to content

Commit

Permalink
fixup for separate coverage XML names
Browse files Browse the repository at this point in the history
  • Loading branch information
richardotis committed Jan 14, 2024
1 parent 632771c commit 1d26eda
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
- name: Install pycalphad development version
if: matrix.pycalphad_develop_version
run: python -m pip install git+https://github.com/pycalphad/pycalphad.git@develop
- name: Save pycalphad version
run: |
echo "PYCALPHAD_VERSION=$(python -c 'from importlib.metadata import version;version(\'pycalphad\')')" >> $GITHUB_ENV
- run: python -m pip install build
- run: python -m build --wheel
- run: python -m pip install dist/*.whl
Expand All @@ -38,7 +41,7 @@ jobs:
- run: coverage xml
- uses: actions/upload-artifact@v4
with:
name: coverage-${{ matrix.os }}-${{ matrix.python-version }}
name: coverage-${{ matrix.os }}-${{ matrix.python-version }}-pycalphad-${{ env.PYCALPHAD_VERSION }}
path: coverage.xml

Upload-Coverage:
Expand Down

0 comments on commit 1d26eda

Please sign in to comment.