diff --git a/.woodpecker/01-test.yml b/.woodpecker/01-test.yml index 3f5878d..513e2b7 100644 --- a/.woodpecker/01-test.yml +++ b/.woodpecker/01-test.yml @@ -21,6 +21,7 @@ steps: commands: - cd e2e - mkdir -p fixtures results logs + - chmod 777 results logs - if [ -d fixtures/classes.json ]; then rm -rf fixtures/classes.json; fi - if [ ! -f fixtures/classes.json ] && [ -f ../classes.json ]; then cp ../classes.json fixtures/classes.json; fi - test -f fixtures/classes.json diff --git a/e2e/run_test.sh b/e2e/run_test.sh index 9d312d2..b3e1c6f 100755 --- a/e2e/run_test.sh +++ b/e2e/run_test.sh @@ -21,6 +21,9 @@ esac COMPOSE="docker compose -f docker-compose.test.yml --profile $PROFILE" LOG_TAIL="${E2E_LOG_TAIL:-100}" +mkdir -p results logs +chmod 777 results logs + if [[ -d fixtures/classes.json ]]; then rm -rf fixtures/classes.json fi