Skip to content

Commit 24add72

Browse files
authored
feat: Output VERSION_FULL (#26)
2 parents 6728e31 + c4a3ce3 commit 24add72

14 files changed

+689
-248
lines changed

.github/workflows/step_test.yaml

+5-13
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,8 @@ jobs:
2727
git config --global --add safe.directory "*"
2828
git config --global user.email "bot@github.com"
2929
git config --global user.name "GitHub Actions Bot"
30-
- uses: actions/setup-python@v5
31-
with:
32-
python-version: 3.x
33-
# TODO: This will be migrated to standalone actions
34-
- name: Setup tmt environment
35-
run: dnf install -y tmt tmt+report-junit
30+
- name: Setup tmt
31+
uses: LecrisUT/tmt-actions/setup-tmt@v1
3632
- uses: lukka/get-cmake@latest
3733
with:
3834
cmakeVersion: ${{ matrix.cmake }}
@@ -44,14 +40,10 @@ jobs:
4440
echo "CMakeExtraUtils_ROOT=$(pwd)/build" >> $GITHUB_ENV
4541
# TODO: This will be migrated to standalone actions
4642
- name: Run tmt tests
47-
run: >
48-
tmt --root ./test run --all provision -h local report -h junit --file report.xml
49-
- name: Upload Test Results
50-
if: always()
51-
uses: actions/upload-artifact@v4
43+
uses: LecrisUT/tmt-actions/run-tmt@v1
5244
with:
53-
name: JUnit-CMake-${{ matrix.cmake }}
54-
path: report.xml
45+
root: test
46+
report-artifact: JUnit-CMake-${{ matrix.cmake }}
5547
report:
5648
name: Report JUnit
5749
needs: [ tests ]

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ project(MyProject
4545
- [x] Add simple pre-commit and `pyproject.toml` environment
4646
- [x] Fix `DynamicVersion` to work with buildable projects
4747
- [ ] Test coverage:
48-
- [ ] `DynamicVersion`
48+
- [x] `DynamicVersion`
4949
- [ ] `PackageComps`

0 commit comments

Comments
 (0)