Skip to content

Commit 621cbaf

Browse files
committed
ci(network-drive): temporary network-drive test
1 parent e099af1 commit 621cbaf

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# temporary test that should be deleted once the main tests work again
2+
3+
name: Test network-drive
4+
on:
5+
# Allow manual triggering from GitHub UI
6+
workflow_dispatch:
7+
8+
concurrency:
9+
group: test-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
test:
14+
strategy:
15+
matrix:
16+
os: [macos-latest, windows-latest, ubuntu-latest]
17+
version: [V1, V2] # This remains to define which version of the secrets to use
18+
runs-on: ${{ matrix.os }}
19+
steps:
20+
- uses: actions/checkout@v4
21+
with:
22+
submodules: true
23+
- uses: dtolnay/rust-toolchain@master
24+
with:
25+
toolchain: nightly-2025-08-14
26+
- uses: Swatinem/rust-cache@v2
27+
with:
28+
prefix-key: ""
29+
shared-key: cargo-build-test-${{ matrix.os }}
30+
save-if: ${{ github.ref == 'refs/heads/main' }}
31+
- name: Install C++ Build Dependencies
32+
if: runner.os == 'Linux'
33+
run: |
34+
sudo apt-get update
35+
sudo apt-get install -y cmake clang libc++-dev libc++abi-dev
36+
- name: Run tests
37+
run: cargo test
38+
working-directory: ./filen-network-drive
39+
env:
40+
TEST_EMAIL: ${{ secrets[format('{0}_TEST_ACC_EMAIL', matrix.version)] }}
41+
TEST_PASSWORD: ${{ secrets[format('{0}_TEST_ACC_PASS', matrix.version)] }}
42+
TEST_SHARE_EMAIL: ${{ secrets['V2_SHARE_ACC_EMAIL'] }}
43+
TEST_SHARE_PASSWORD: ${{ secrets['V2_SHARE_ACC_PASS'] }}
44+
IMAP_EMAIL_USER: ${{ secrets['IMAP_EMAIL_USER'] }}
45+
IMAP_EMAIL_PASSWORD: ${{ secrets['IMAP_EMAIL_PASSWORD'] }}
46+
RUST_LOG: debug

0 commit comments

Comments
 (0)