Skip to content

Commit

Permalink
CI: Run production build which is required for dependency:tree
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Jan 10, 2025
1 parent e48caf6 commit f344e66
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
cp $GITHUB_WORKSPACE/config/database.yml.actions $GITHUB_WORKSPACE/config/database.yml
cp $GITHUB_WORKSPACE/Kitodo-DataManagement/src/main/resources/db/config/flyway.properties.actions $GITHUB_WORKSPACE/Kitodo-DataManagement/src/main/resources/db/config/flyway.properties
mkdir -p $GITHUB_WORKSPACE/config-local
cp $GITHUB_WORKSPACE/Kitodo/src/main/resources/kitodo_config.properties $GITHUB_WORKSPACE/config-local
cp $GITHUB_WORKSPACE/Kitodo/src/main/resources/kitodo_projects.xml $GITHUB_WORKSPACE/config-local
# cp $GITHUB_WORKSPACE/Kitodo/src/main/resources/kitodo_config.properties $GITHUB_WORKSPACE/config-local
# cp $GITHUB_WORKSPACE/Kitodo/src/main/resources/kitodo_projects.xml $GITHUB_WORKSPACE/config-local
# Runs a set of commands using the runners shell
- name: start mysql
Expand Down Expand Up @@ -71,15 +71,15 @@ jobs:
mvn --version
- name: Run dependency:analyze
run:
mvn -B dependency:analyze
mvn -B '-P!development' dependency:analyze
- name: Run production build (required for dependency tree)
run: |
sudo mkdir -p /usr/local/kitodo/modules
ls -l /usr/local/kitodo $GITHUB_WORKSPACE
mvn -B clean install
# sudo mkdir -p /usr/local/kitodo/modules
# ls -l /usr/local/kitodo $GITHUB_WORKSPACE
mvn -B '-P!development' clean install
- name: Run dependency:tree
run:
mvn -B dependency:tree
mvn -B '-P!development' dependency:tree
- name: run build
run:
mvn clean install -B '-Pall-tests,flyway,checkstyle,!development' && xvfb-run --server-args="-screen 0 1600x1280x24" mvn clean install -B '-Pselenium,!development'

0 comments on commit f344e66

Please sign in to comment.