Skip to content

Commit

Permalink
Add a CI workflow and a test pom
Browse files Browse the repository at this point in the history
  • Loading branch information
arteymix committed Apr 29, 2024
1 parent 2ec2b94 commit f2bfc3c
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
- name: Install Maven 3.0.5
run: mvn wrapper:wrapper -Dmaven=3.0.5
- name: Install with the release profile
run: ./mvnw -f test/pom.xml install -Prelease
- name: Build Maven site
run: ./mvnw -f test/pom.xml site

21 changes: 21 additions & 0 deletions test/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8" ?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>ubc.pavlab</groupId>
<artifactId>pavlab-starter-parent</artifactId>
<version>1.2.12</version>
<relativePath>..</relativePath>
</parent>
<artifactId>pavlab-starter-parent-test</artifactId>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

0 comments on commit f2bfc3c

Please sign in to comment.