Compare commits

..

2 commits

Author SHA1 Message Date
6506e5882f
chore(release): release artifactview v0.2.0 2024-06-14 03:19:22 +02:00
9ebd487ff4
tests: create cache dir 2024-06-14 03:15:27 +02:00
3 changed files with 3 additions and 3 deletions

View file

@ -16,9 +16,7 @@ jobs:
- name: 📎 Clippy
run: cargo clippy --all -- -D warnings
- name: 🧪 Test
run: |
./tests/testfiles/sites/make_zip.sh
cargo nextest run --config-file ~/.config/nextest.toml --profile ci --workspace
run: 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

View file

@ -33,6 +33,7 @@ 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

View file

@ -307,6 +307,7 @@ 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() {