Skip to content

Commit

Permalink
Merge pull request #52 from equinix-labs/addCompilerSource
Browse files Browse the repository at this point in the history
Add compiler source
  • Loading branch information
tutkat authored Sep 17, 2024
2 parents 727ac44 + fdfd74c commit cb64858
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/test_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,24 @@ jobs:
distribution: 'temurin'
cache: maven

- name: Install modules
shell: bash
run: |-
mvn clean install -DskipTests
- name: Tests
shell: bash
working-directory: ./equinix-openapi-fabric-tests
run: |-
mvn clean test -DenvUrl=${{ env.TEST_HOST_URL }}
mvn test -DenvUrl=${{ env.TEST_HOST_URL }}
- name: Generate report
if: always()
working-directory: ./equinix-openapi-fabric-tests
shell: bash
run: |-
cd equinix-openapi-fabric-tests
mvn surefire-report:report -DskipTests
mvn surefire-report:report -DskipTests
- name: attach report as attachment
if: always()
uses: actions/upload-artifact@v4
Expand Down
7 changes: 7 additions & 0 deletions equinix-openapi-fabric-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@
<version>0.0.1</version>
</parent>

<properties>
<java.version>1.8</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<build>
<plugins>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ public static Connection createPort2SpConnection() throws ApiException {
.getData().stream()
.filter(sp -> sp.getState().equals(ServiceProfileStateEnum.ACTIVE))
.filter(sp -> sp.getVisibility().equals(ServiceProfileVisibilityEnum.PUBLIC))
.filter(sp -> !sp.getAccessPointTypeConfigs().get(0).getServiceProfileAccessPointTypeCOLO().getSupportedBandwidths().isEmpty())
.findAny().get();

UsersItem usersItem = Utils.getUserData(getCurrentUser());
Expand Down

0 comments on commit cb64858

Please sign in to comment.