CI: test keyring feature

This commit is contained in:
FliegendeWurst 2021-04-17 15:40:08 +02:00
parent d087ea0e92
commit 450b0d9284

View File

@ -17,6 +17,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
features: ["", "--features keyring-auth"]
steps:
- uses: actions/checkout@v2
@ -38,11 +39,14 @@ jobs:
with:
path: target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
- name: Install dbus
run: sudo apt-get install -y libdbus-1-dev
if: runner.os == 'Linux'
- name: Build
run: cargo build --release --verbose
run: cargo build --release ${{ matrix.features }} --verbose
# there are currently no automated tests
- name: Run tests
run: cargo test --release --verbose
run: cargo test --release ${{ matrix.features }} --verbose
- name: Archive artifacts
uses: actions/upload-artifact@v2
with: