-
Notifications
You must be signed in to change notification settings - Fork 5
30 lines (25 loc) · 969 Bytes
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Tests
# all the branches is fine. This shouldn't run on external PRs though
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
tests:
# if: github.event.pull_request.head.repo.full_name == 'drogue-iot/drg'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: cleanup apps
shell: bash
run: .github/scripts/tests/clean_apps.sh
env:
DROGUE_SANDBOX_URL: ${{secrets.DROGUE_SANDBOX_URL}}
DROGUE_SANDBOX_ACCESS_KEY: ${{secrets.DROGUE_SANDBOX_ACCESS_KEY}}
DROGUE_SANDBOX_USERNAME: ${{secrets.DROGUE_SANDBOX_USERNAME}}
- name: Tests
run: cargo test
env:
DROGUE_SANDBOX_URL: ${{secrets.DROGUE_SANDBOX_URL}}
DROGUE_SANDBOX_ACCESS_KEY: ${{secrets.DROGUE_SANDBOX_ACCESS_KEY}}
DROGUE_SANDBOX_KEY_PREFIX: ${{secrets.DROGUE_SANDBOX_KEY_PREFIX}}
DROGUE_SANDBOX_USERNAME: ${{secrets.DROGUE_SANDBOX_USERNAME}}