-
Notifications
You must be signed in to change notification settings - Fork 211
38 lines (36 loc) · 1.14 KB
/
community.yml
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
31
32
33
34
35
36
37
38
name: Community tests
on:
pull_request:
env:
PUB_ENVIRONMENT: bot.github
jobs:
drift:
# Tests maintained by [email protected]
name: "Tests for pkg:drift"
runs-on: ubuntu-latest
steps:
- uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- run: dart pub get
working-directory: tool
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
with:
repository: simolus3/drift
ref: develop
path: client_tests/drift
- run: |-
cat << DRIFTDEPS >> client_tests/drift/drift/pubspec.yaml
dependency_overrides:
drift_dev:
path: ../drift_dev
sqlparser:
path: ../sqlparser
DRIFTDEPS
dart run tool/bin/patch_build_dependencies.dart client_tests/drift/drift
cd client_tests/drift/drift
git add pubspec.yaml
- run: dart test --preset build_community_tests
name: Drift community tests
working-directory: client_tests/drift/drift