Update test_stream.yaml #13
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: Datastream Test | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
fedora-job: | |
runs-on: ubuntu-latest | |
container: fedora:35 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
sudo dnf -y update && \ | |
dnf install findutils && \ | |
dnf install find && \ | |
dnf clean all | |
find --version | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Install datastream | |
run: | |
$(pwd)/scripts/install.sh | |
aws configure set aws_access_key_id ${{ secrets.aws_access_key_id }} | |
aws configure set aws_secret_access_key ${{ secrets.aws_secret_access_key }} | |
- name: Test datastream | |
run: | | |
find --version | |
$(pwd)/tests/scripts/test_stream.sh -d $(pwd) |