mirror of
https://github.com/FliegendeWurst/KIT-ILIAS-downloader.git
synced 2024-08-28 04:04:18 +00:00
CI: test keyring feature
This commit is contained in:
parent
d087ea0e92
commit
450b0d9284
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user