Skip to content

Commit

Permalink
SAK-44746 GithubActions test exclusions (sakaiproject#8871)
Browse files Browse the repository at this point in the history
  • Loading branch information
ern authored Dec 7, 2020
1 parent a981d2e commit 74b3cce
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Build with Maven
env:
MAVEN_OPTS: -Djava.awt.headless=true -Dorg.slf4j.simpleLogger.defaultLogLevel=info -Dmaven.wagon.http.retryHandler.count=2 -Dmaven.wagon.http.pool=true
run: mvn test --batch-mode
run: mvn -PskipBrokenTests test --batch-mode
- name: Report jUnit Annotations as Github Actions Annotations
uses: shyim/[email protected]
with:
Expand Down
18 changes: 18 additions & 0 deletions sitestats/sitestats-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,24 @@
<version>22-SNAPSHOT</version><!-- sitestats.version -->
</parent>

<profiles>
<profile>
<id>skipBrokenTests</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/*StatsUpdateManagerTest.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<!-- Packaging -->
<packaging>sakai-component</packaging>
<properties>
Expand Down

0 comments on commit 74b3cce

Please sign in to comment.