Compare commits
2 commits
eb8e0ae229
...
6506e5882f
Author | SHA1 | Date | |
---|---|---|---|
6506e5882f | |||
9ebd487ff4 |
3 changed files with 3 additions and 3 deletions
|
@ -16,9 +16,7 @@ jobs:
|
||||||
- name: 📎 Clippy
|
- name: 📎 Clippy
|
||||||
run: cargo clippy --all -- -D warnings
|
run: cargo clippy --all -- -D warnings
|
||||||
- name: 🧪 Test
|
- name: 🧪 Test
|
||||||
run: |
|
run: cargo nextest run --config-file ~/.config/nextest.toml --profile ci --workspace
|
||||||
./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
|
||||||
|
|
|
@ -33,6 +33,7 @@ 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
|
||||||
|
|
||||||
|
|
|
@ -307,6 +307,7 @@ 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() {
|
||||||
|
|
Loading…
Reference in a new issue