Skip to content

fix(deps): update dependency androidx.appcompat:appcompat to v1.7.0 #8716

fix(deps): update dependency androidx.appcompat:appcompat to v1.7.0

fix(deps): update dependency androidx.appcompat:appcompat to v1.7.0 #8716

name: "Test published JGiven"
on: [push, pull_request]
jobs:
validate_example_projects_work:
name: Test that the examples are actually working
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up JDK 17
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'adopt'
- name: Setup Android SDK
uses: android-actions/[email protected]
- name: Produce a local release with version 1.1-t
run: source scripts/local_release_with_version.sh
- name: Test Kotlin Example Project
run: >
source scripts/source_files/helper_functions.sh
&& runGradleTestOnGivenProject example-projects/kotlin/build.gradle 1.1-t
- name: Test JUnit5 Example Project
run: >
sudo apt-get install firefox
&& source scripts/source_files/helper_functions.sh
&& runGradleTestOnGivenProject example-projects/junit5/build.gradle 1.1-t
- name: Test Selenium Example Project
run: >
source scripts/source_files/helper_functions.sh
&& runGradleTestOnGivenProject example-projects/selenium/build.gradle 1.1-t
- name: Test Spock Example Project
run: >
source scripts/source_files/helper_functions.sh
&& runGradleTestOnGivenProject example-projects/spock/build.gradle 1.1-t
- name: Test Spring-Boot Example Project
run: >
source scripts/source_files/helper_functions.sh
&& runGradleTestOnGivenProject example-projects/spring-boot/build.gradle 1.1-t
- name: Test Maven Example Project
run: >
source scripts/source_files/helper_functions.sh
&& runMavenTestOnGivenProject example-projects/maven/pom.xml 1.1-t
- name: Upload test results html files
continue-on-error: true
if: ${{failure()}}
uses: actions/[email protected]
with:
name: test-report-example-projects
path: /home/runner/work/JGiven/JGiven/example-projects/*/build/reports/tests
if-no-files-found: ignore
- name: Test Java 11 Project
run: source scripts/source_files/helper_functions.sh && runMavenTestOnGivenProject example-projects/java11/pom.xml 1.1-t
- name: Test TestNG Example Project
run: source scripts/source_files/helper_functions.sh && runGradleTestOnGivenProject example-projects/testng/build.gradle 1.1-t
- uses: olafurpg/setup-scala@v14
with:
java-version: [email protected]
- name: Test Scala Example Project
run: source scripts/source_files/helper_functions.sh && runScalaTest
- name: Upload test results html files
continue-on-error: true
if: ${{failure()}}
uses: actions/[email protected]
with:
name: test-report-example-projects
path: /home/runner/work/JGiven/JGiven/example-projects/*/build/reports/tests
if-no-files-found: ignore
validate_publication_poms:
name: Validate the format of the published poms
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Load the bash script
run: scripts/local_release_with_version.sh
- name: Run validation
run: scripts/validate_poms.sh