Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 30 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,42 @@ jobs:
set -o pipefail
echo "### Coverage report" >> "$GITHUB_STEP_SUMMARY"
echo '```' >> "$GITHUB_STEP_SUMMARY"
cargo llvm-cov --workspace --tests --verbose 2>&1 | tee >(sed 's/^/ /' >> "$GITHUB_STEP_SUMMARY")
cargo llvm-cov --workspace --tests --verbose --html --output-dir target/llvm-cov/html 2>&1 | tee >(sed 's/^/ /' >> "$GITHUB_STEP_SUMMARY")
echo '```' >> "$GITHUB_STEP_SUMMARY"
- name: Upload coverage HTML artifact
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: target/llvm-cov/html
- name: Build Docker image
run: docker build -t tau:test .
- name: Build Docker Compose
run: docker compose build server-prod

deploy-pages:
name: Deploy coverage to GitHub Pages
runs-on: ubuntu-latest
needs: build
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
steps:
- name: Download coverage report artifact
uses: actions/download-artifact@v4
with:
name: coverage-report
path: target/llvm-cov/html

- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v1
with:
path: target/llvm-cov/html

- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v1

- name: Show GitHub Pages URL
run: |
echo "GitHub Pages site should be available at: https://${GITHUB_REPOSITORY_OWNER}.github.io/${GITHUB_REPOSITORY#*/}/"

version-check:
name: Check package version
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tau"
version = "0.1.17"
version = "0.1.18"
edition = "2021"
repository = "https://github.com/debatecore/tau"

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "tau"
version = "0.1.17"
version = "0.1.18"
description = "A project for versioning python-based tau development utils"
readme = "README.md"
requires-python = ">=3.13"
Expand Down
Loading