|
69 | 69 | path: build.tar |
70 | 70 | retention-days: 1 |
71 | 71 |
|
72 | | - test_aws: |
73 | | - name: Unit tests (incl. AWS API tests) and AWS integration tests |
74 | | - needs: [ build_client ] |
75 | | - runs-on: ubuntu-22.04 |
76 | | - env: |
77 | | - working-directory: ./src |
78 | | - steps: |
79 | | - |
80 | | - - name: Check out code into the Go module directory |
81 | | - uses: actions/checkout@v2 |
82 | | - |
83 | | - - name: Configure AWS credentials using EASE lab account |
84 | | - uses: aws-actions/configure-aws-credentials@v1 |
85 | | - with: |
86 | | - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }} |
87 | | - aws-secret-access-key: ${{ secrets.AWS_SECRET_KEY }} |
88 | | - aws-region: us-west-1 |
89 | | - |
90 | | - - name: Set up Go 1.19 |
91 | | - uses: actions/setup-go@v2 |
92 | | - with: |
93 | | - go-version: 1.19 |
94 | | - |
95 | | - - name: Download client artifact |
96 | | - uses: actions/download-artifact@v2 |
97 | | - with: |
98 | | - name: STeLLAR-build |
99 | | - |
100 | | - - name: Untar client build |
101 | | - working-directory: ${{env.working-directory}} |
102 | | - run: tar --strip-components=1 -xvf ../build.tar -C . |
103 | | - |
104 | | - - name: Unit Tests |
105 | | - working-directory: ${{env.working-directory}} |
106 | | - run: go test -short -v ./... |
107 | | - |
108 | | - - name: Prepare benchmarking functions |
109 | | - run: | |
110 | | - mkdir -p "setup/deployment/raw-code" |
111 | | - cp -R ./src/setup/deployment/raw-code/functions setup/deployment/raw-code/functions |
112 | | - mkdir -p "./src/latency-samples" |
113 | | -
|
114 | | - - name: AWS Burstiness ZIP (Package) Integration Test |
115 | | - working-directory: ${{env.working-directory}} |
116 | | - run: ./main --o latency-samples --c ../experiments/tests/aws/burstiness-zip-package.json |
117 | | - |
118 | | - - name: AWS Burstiness Image (Package) Integration Test |
119 | | - working-directory: ${{env.working-directory}} |
120 | | - run: ./main --o latency-samples --c ../experiments/tests/aws/burstiness-image-package.json |
121 | | - |
122 | | - - name: AWS Inline Data Transfer Integration Test |
123 | | - working-directory: ${{env.working-directory}} |
124 | | - run: ./main --o latency-samples --c ../experiments/tests/aws/data-transfer.json |
125 | | - |
126 | 72 | test_vhive: |
127 | 73 | name: vHive integration tests |
128 | 74 | needs: [ build_client ] |
|
0 commit comments