-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dependabot/npm_and_yarn/client/browserify-…
…sign-4.2.2
- Loading branch information
Showing
52 changed files
with
705 additions
and
295 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: PR validation | ||
on: | ||
pull_request: | ||
types: [synchronize, opened, reopened, edited] | ||
branches: | ||
- master | ||
jobs: | ||
test-api: | ||
permissions: | ||
id-token: write # Required for authentication through OIDC to AWS | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Report workflow details | ||
run: | | ||
echo "Repository ${{ github.repository }}." | ||
echo "Trigger ref ${{ github.ref }}, base-ref ${{ github.base_ref }}, head_ref ${{ github.head_ref }}." | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
- name: Report files updated in PR | ||
run: | | ||
git fetch -q origin ${{ github.base_ref }} ${{ github.head_ref }} | ||
git diff --name-only origin/${{ github.base_ref }} origin/${{ github.head_ref }} | ||
- name: Set up JDK 8 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '8' | ||
distribution: 'temurin' | ||
- name: Install clojure and clojure cli (clj) | ||
uses: DeLaGuardo/[email protected] | ||
with: | ||
cli: 1.10.1.536 | ||
- name: Report runtime details | ||
run: | | ||
echo "Github runner OS: ${{ runner.os }}" | ||
- name: AWS credentials configuration | ||
uses: aws-actions/configure-aws-credentials@v2 | ||
with: | ||
role-to-assume: ${{secrets.GH_ACTIONS_AWS_ROLE}} | ||
role-session-name: gh-actions-${{github.run_id}}.${{github.run_number}}.${{github.run_attempt}}-test-api | ||
aws-region: us-east-1 | ||
- name: Download and install Datomic Pro | ||
run: | | ||
aws s3 cp s3://wormbase/datomic-pro/distro/datomic-pro-1.0.6165.zip ./ | ||
unzip datomic-pro-1.0.6165.zip | ||
cd datomic-pro-1.0.6165/ | ||
bin/maven-install | ||
- name: Generate pom file | ||
run: | | ||
clojure -Spom | ||
- name: Run Integration tests | ||
run: | | ||
make run-tests GOOGLE_APP_PROFILE=dev | ||
#TODO: add UI and API build and container packaging test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.