Bump commons-io:commons-io in /java_runtime/tl2cgen4j #237
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
name: misc-tests | |
on: [pull_request, push] | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
defaults: | |
run: | |
shell: bash -l {0} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test-sdist: | |
name: Test sdist | |
runs-on: ubuntu-latest | |
env: | |
COMMIT_ID: ${{ github.sha }} | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID_IAM_S3_UPLOADER }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY_IAM_S3_UPLOADER }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'true' | |
- uses: mamba-org/provision-with-micromamba@v14 | |
with: | |
cache-downloads: true | |
cache-env: true | |
environment-name: dev | |
environment-file: ops/conda_env/dev.yml | |
- name: Display Conda env | |
run: | | |
conda info | |
conda list | |
- name: Test sdist | |
run: | | |
bash ops/test-sdist.sh | |
java-test: | |
if: false # TODO(hcho3): Re-enable when Java runtime is brought up to date | |
name: Run Java tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'true' | |
- uses: mamba-org/provision-with-micromamba@v14 | |
with: | |
cache-downloads: true | |
cache-env: true | |
environment-name: dev | |
environment-file: ops/conda_env/dev.yml | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Cache Maven packages | |
uses: actions/cache@v2 | |
with: | |
path: ~/.m2 | |
key: tl2cgen4j-${{ runner.os }}-m2-${{ hashFiles('./runtime/java/tl2cgen4j/pom.xml') }} | |
restore-keys: tl2cgen4j-${{ runner.os }}-m2 | |
- name: Run tests with test coverage computation | |
shell: bash -l {0} | |
run: | | |
bash ops/test-java.sh |