8
8
9
9
env :
10
10
RUST_BACKTRACE : 1
11
+ DOCSRS_PREFIX : ignored/cratesfyi-prefix
12
+ DOCSRS_DATABASE_URL : postgresql://cratesfyi:password@localhost:15432
13
+ DOCSRS_LOG : docs_rs=debug,rustwide=info
14
+ AWS_ACCESS_KEY_ID : cratesfyi
15
+ AWS_SECRET_ACCESS_KEY : secret_key
16
+ S3_ENDPOINT : http://localhost:9000
17
+ DOCSRS_INCLUDE_DEFAULT_TARGETS : false
18
+ DOCSRS_DOCKER_IMAGE : ghcr.io/rust-lang/crates-build-env/linux-micro
19
+ SENTRY_ENVIRONMENT : dev
11
20
12
21
jobs :
13
22
build :
57
66
- name : Launch postgres and min.io
58
67
run : |
59
68
cp .env.sample .env
60
- . .env
61
69
mkdir -p ${DOCSRS_PREFIX}/public-html
62
70
docker-compose up -d db s3
63
71
# Give the database enough time to start up
93
101
- name : Launch postgres and min.io
94
102
run : |
95
103
cp .env.sample .env
96
- . .env
97
104
mkdir -p ${DOCSRS_PREFIX}/public-html
98
105
docker-compose up -d db s3
99
106
# Give the database enough time to start up
@@ -104,13 +111,12 @@ jobs:
104
111
- name : slow tests
105
112
env :
106
113
DOCSRS_INCLUDE_DEFAULT_TARGETS : true
107
- DOCSRS_DOCKER_IMAGE : ghcr.io/rust-lang/crates-build-env/linux-micro
108
114
run : |
109
115
for f in ./test-binaries/*; do
110
116
echo "running $f"
111
117
chmod +x $f # GH action artifacts don't handle permissions
112
118
# run build-tests. Limited to one thread since we don't support parallel builds.
113
- $f --ignored --test-threads=1 || exit 1
119
+ $f --ignored --test-threads=1 || exit 1
114
120
done
115
121
116
122
- name : Clean up the database
0 commit comments