Fix non-deterministic CI tests (#724)

* a race condition due to duplicated webp.mbtiles and webp.pmtiles
* minor cleanup of CI/dockerignore
* dependency bump
This commit is contained in:
Yuri Astrakhan 2023-06-22 23:01:57 -04:00 committed by GitHub
parent 177b72e876
commit ff29530804
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 27 additions and 26 deletions

View File

@ -7,9 +7,9 @@ justfile
# Remove self from the image too
.dockerignore
#### COPIED FROM .gitignore ####
#### This must match .gitignore ####
.DS_Store
/target/
target/
**/*.rs.bk
.idea/
test_log*
@ -18,4 +18,5 @@ test_log*
pg_data/
config.yml
tests/output/
tests/expected/
docs/book
tmp/

View File

@ -169,7 +169,7 @@ jobs:
if: failure() && matrix.target == 'x86_64-unknown-linux-gnu'
uses: actions/upload-artifact@v3
with:
name: test-output
name: failed-test-output
path: tests/output/*
retention-days: 5
- name: Package

4
.gitignore vendored
View File

@ -1,5 +1,4 @@
#### Make sure this list is the same as in the .dockerignore file
#### This must match .dockerignore ####
.DS_Store
target/
**/*.rs.bk
@ -11,3 +10,4 @@ pg_data/
config.yml
tests/output/
docs/book
tmp/

34
Cargo.lock generated
View File

@ -325,15 +325,15 @@ dependencies = [
[[package]]
name = "anstyle"
version = "1.0.0"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "41ed9a86bf92ae6580e0a31281f65a1b1d867c0cc68d5346e2ae128dddfa6a7d"
checksum = "3a30da5c5f2d5e72842e00bcb57657162cdabef0931f40e2deb9b4140440cecd"
[[package]]
name = "anstyle-parse"
version = "0.2.0"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e765fd216e48e067936442276d1d57399e37bce53c264d6fefbe298080cb57ee"
checksum = "938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333"
dependencies = [
"utf8parse",
]
@ -371,9 +371,9 @@ checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545"
[[package]]
name = "arrayvec"
version = "0.7.3"
version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8868f09ff8cea88b079da74ae569d9b8c62a23c68c746240b704ee6f7525c89c"
checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711"
[[package]]
name = "assert_fs"
@ -596,9 +596,9 @@ dependencies = [
[[package]]
name = "clap"
version = "4.3.4"
version = "4.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "80672091db20273a15cf9fdd4e47ed43b5091ec9841bf4c6145c9dfbbcae09ed"
checksum = "2686c4115cb0810d9a984776e197823d08ec94f176549a89a9efded477c456dc"
dependencies = [
"clap_builder",
"clap_derive",
@ -607,9 +607,9 @@ dependencies = [
[[package]]
name = "clap_builder"
version = "4.3.4"
version = "4.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c1458a1df40e1e2afebb7ab60ce55c1fa8f431146205aa5f4887e0b111c27636"
checksum = "2e53afce1efce6ed1f633cf0e57612fe51db54a1ee4fd8f8503d078fe02d69ae"
dependencies = [
"anstream",
"anstyle",
@ -1107,7 +1107,7 @@ dependencies = [
"memmap2",
"slotmap",
"tinyvec",
"ttf-parser 0.19.0",
"ttf-parser 0.19.1",
]
[[package]]
@ -1905,9 +1905,9 @@ checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
[[package]]
name = "openssl"
version = "0.10.54"
version = "0.10.55"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "69b3f656a17a6cbc115b5c7a40c616947d213ba182135b014d6051b73ab6f019"
checksum = "345df152bc43501c5eb9e4654ff05f794effb78d4efe3d53abc158baddc0703d"
dependencies = [
"bitflags",
"cfg-if",
@ -1946,9 +1946,9 @@ dependencies = [
[[package]]
name = "openssl-sys"
version = "0.9.88"
version = "0.9.90"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c2ce0f250f34a308dcfdbb351f511359857d4ed2134ba715a4eadd46e1ffd617"
checksum = "374533b0e45f3a7ced10fcaeccca020e66656bc03dac384f852e4e5a7a8104a6"
dependencies = [
"cc",
"libc",
@ -3256,9 +3256,9 @@ checksum = "0609f771ad9c6155384897e1df4d948e692667cc0588548b68eb44d052b27633"
[[package]]
name = "ttf-parser"
version = "0.19.0"
version = "0.19.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "44dcf002ae3b32cd25400d6df128c5babec3927cd1eb7ce813cfff20eb6c3746"
checksum = "a464a4b34948a5f67fddd2b823c62d9d92e44be75058b99939eae6c5b6960b33"
[[package]]
name = "typed-arena"

View File

@ -148,7 +148,7 @@
"name": "ne2sr"
},
{
"id": "webp.1",
"id": "webp2",
"content_type": "image/webp",
"name": "ne2sr"
},

View File

@ -146,7 +146,7 @@ pmtiles:
sources:
png: tests/fixtures/files/png.pmtiles
stamen_toner__raster_CC-BY-ODbL_z3: tests/fixtures/files/stamen_toner__raster_CC-BY+ODbL_z3.pmtiles
webp: tests/fixtures/files/webp.pmtiles
webp2: tests/fixtures/files/webp2.pmtiles
mbtiles:
paths: tests/fixtures/files
sources:
@ -155,5 +155,5 @@ mbtiles:
geography-class-png-no-bounds: tests/fixtures/files/geography-class-png-no-bounds.mbtiles
json: tests/fixtures/files/json.mbtiles
uncompressed_mvt: tests/fixtures/files/uncompressed_mvt.mbtiles
webp.1: tests/fixtures/files/webp.mbtiles
webp: tests/fixtures/files/webp.mbtiles
world_cities: tests/fixtures/files/world_cities.mbtiles