diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index 0a83217..4908128 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -16,7 +16,9 @@ jobs: - name: ๐Ÿ“Ž Clippy run: cargo clippy --all -- -D warnings - name: ๐Ÿงช Test - run: cargo nextest run --config-file ~/.config/nextest.toml --profile ci --workspace + run: | + ./tests/testfiles/sites/make_zip.sh + cargo nextest run --config-file ~/.config/nextest.toml --profile ci --workspace - name: ๐Ÿ’Œ Upload test report if: always() uses: https://code.forgejo.org/forgejo/upload-artifact@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 40d8205..149b09e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,7 +33,6 @@ All notable changes to this project will be documented in this file. ### ๐Ÿงช Testing - Add integration tests - ([4aaff46](https://codeberg.org/ThetaDev/artifactview/commit/4aaff462bb602180832cae3fe902161d2f8043a9)) -- Create cache dir - ([9ebd487](https://codeberg.org/ThetaDev/artifactview/commit/9ebd487ff40ae917dc17397be2f0a211ac57e457)) ### โš™๏ธ Miscellaneous Tasks diff --git a/src/util.rs b/src/util.rs index e84ca2c..5ce1238 100644 --- a/src/util.rs +++ b/src/util.rs @@ -307,7 +307,6 @@ pub(crate) mod tests { }); pub fn setup_cache_dir(dir: &Path) { - std::fs::create_dir_all(dir).unwrap(); for entry in std::fs::read_dir(SITEDIR.as_path()).unwrap() { let entry = entry.unwrap(); if entry.file_type().unwrap().is_file() {