HDX-10173 update libhxl version #489
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: HXL Proxy tests | |
on: | |
push: | |
branches: [ '**' ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ dev ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: They are the same. | |
run: sudo ln -sf /usr/libexec/docker/cli-plugins/docker-compose /usr/bin/docker-compose | |
- name: Building HXL Proxy image | |
run: docker-compose -f docker-compose-github-actions.yml build proxy | |
- name: Spinning up container | |
run: | | |
docker-compose -f docker-compose-github-actions.yml up -d | |
sleep 5 | |
docker-compose -f docker-compose-github-actions.yml exec -T proxy sh -c "python3 setup.py install" | |
- name: Running tests | |
run: docker-compose -f docker-compose-github-actions.yml exec -T proxy sh -c "python3 setup.py test" |