Compare commits

..

2 commits

3 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,9 @@ jobs:
- name: 📎 Clippy - name: 📎 Clippy
run: cargo clippy --all -- -D warnings run: cargo clippy --all -- -D warnings
- name: 🧪 Test - 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 - name: 💌 Upload test report
if: always() if: always()
uses: https://code.forgejo.org/forgejo/upload-artifact@v4 uses: https://code.forgejo.org/forgejo/upload-artifact@v4

View file

@ -33,7 +33,6 @@ All notable changes to this project will be documented in this file.
### 🧪 Testing ### 🧪 Testing
- Add integration tests - ([4aaff46](https://codeberg.org/ThetaDev/artifactview/commit/4aaff462bb602180832cae3fe902161d2f8043a9)) - Add integration tests - ([4aaff46](https://codeberg.org/ThetaDev/artifactview/commit/4aaff462bb602180832cae3fe902161d2f8043a9))
- Create cache dir - ([9ebd487](https://codeberg.org/ThetaDev/artifactview/commit/9ebd487ff40ae917dc17397be2f0a211ac57e457))
### ⚙️ Miscellaneous Tasks ### ⚙️ Miscellaneous Tasks

View file

@ -307,7 +307,6 @@ pub(crate) mod tests {
}); });
pub fn setup_cache_dir(dir: &Path) { 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() { for entry in std::fs::read_dir(SITEDIR.as_path()).unwrap() {
let entry = entry.unwrap(); let entry = entry.unwrap();
if entry.file_type().unwrap().is_file() { if entry.file_type().unwrap().is_file() {