ci: upgrade workflow actions version #176
Workflow file for this run
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: Test ARLAS-tagger | |
on: push | |
jobs: | |
integration-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Cache Maven # From https://github.com/actions/cache/blob/main/examples.md | |
uses: actions/[email protected] | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Warm-up mvn cache | |
run: | | |
mvn --version | |
mvn clean verify | |
- name: Prepare tests | |
run: | | |
sudo sysctl -w vm.max_map_count=262144 | |
sudo mkdir -p /opt/app | |
sudo cp arlas-tagger-tests/src/test/resources/arlas-test.pem /opt/app/ | |
- name: Run tests [TAGGER] | |
env: | |
# secrets are defined here : https://github.com/organizations/gisaia/settings/secrets/actions | |
DOCKER_USERNAME: ${{ secrets.DOCKER_HUB_USER }} | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }} | |
run: scripts/ci/tests-integration-stage.sh --stage=TAG | |
- name: Run tests [TAGGER_AUTH] | |
env: | |
# secrets are defined here : https://github.com/organizations/gisaia/settings/secrets/actions | |
DOCKER_USERNAME: ${{ secrets.DOCKER_HUB_USER }} | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }} | |
run: scripts/ci/tests-integration-stage.sh --stage=AUTH |