Update test_stream.yaml #6
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 clean all | |
sudo apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg \ | |
lsb-release | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg | |
echo \ | |
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \ | |
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null | |
sudo apt-get update | |
sudo apt-get install -y docker-ce docker-ce-cli containerd.io | |
sudo systemctl start docker | |
sudo docker run hello-world | |
$(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: | | |
$(pwd)/tests/scripts/test_stream.sh -d $(pwd) |