summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMarc Schreiber <schrieveslaach@online.de>2020-08-11 18:44:25 +0200
committerGitHub <noreply@github.com>2020-08-11 18:44:25 +0200
commit8c71eb530712422c173f73ef8f2eb2ef252c0cd9 (patch)
treec36fa1d55e320500769f2d1c22dff34c7e5e6f8f /.github
parent93c568e1186499404aafdb2283d3880d8a9848f5 (diff)
feat: Add Undistract Me Feature (#1019)
Often it is handy to get notified when the execution of a command finished. This commit includes notify-rust in order to generate a desktop notification when a command execution finished.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/workflow.yml14
1 files changed, 13 insertions, 1 deletions
diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml
index dfc2872dd..1b70ac0cf 100644
--- a/.github/workflows/workflow.yml
+++ b/.github/workflows/workflow.yml
@@ -27,6 +27,9 @@ jobs:
profile: minimal
components: rustfmt
+ - name: Setup | libdbus (ubuntu)
+ run: sudo apt-get install libdbus-1-dev
+
- name: Build | Format
run: cargo fmt --all -- --check
@@ -51,6 +54,10 @@ jobs:
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
+ - name: Setup | libdbus (ubuntu)
+ if: matrix.os == 'ubuntu-latest'
+ run: sudo apt-get install libdbus-1-dev
+
- name: Setup | Rust
uses: actions-rs/toolchain@v1
with:
@@ -108,6 +115,11 @@ jobs:
- name: Setup | Checkout
uses: actions/checkout@v2
+ - name: Setup | libdbus (ubuntu)
+ if: matrix.os == 'ubuntu-latest'
+ run: sudo apt-get install libdbus-1-dev
+
+ # Cache files between builds
- name: Setup | Cache Cargo
uses: actions/cache@v2
with:
@@ -132,4 +144,4 @@ jobs:
# Run the ignored tests that expect the above setup
- name: Build | Test
- run: cargo test -- -Z unstable-options --include-ignored
+ run: cargo test --all-features -- -Z unstable-options --include-ignored