Skip to content

Commit

Permalink
Merge pull request #64 from paguilera/master
Browse files Browse the repository at this point in the history
Updating Github Workflow
  • Loading branch information
samuelpcabral authored Oct 2, 2024
2 parents 33760f6 + 2bc741c commit 8a57f6a
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
run-localstack-and-robot:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -24,11 +24,11 @@ jobs:
- name: Start Localstack docker
working-directory: ./localstack
run: |
docker-compose up -d
docker compose up -d
- name: Wait for LocalStack to be ready
run: sleep 10
- name: Set up Python 3.10
uses: actions/setup-python@v4
uses: actions/setup-python@v5
env:
ROBOT_TESTS_DIR: ${{ github.workspace }}/Tests
ROBOT_REPORTS_DIR: ${{ github.workspace }}/reports
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Run Robot Framework
run: robot -d ./reports ./tests/robot
- name: Upload test results
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
if: always()
with:
name: robot_reports
Expand All @@ -49,14 +49,16 @@ jobs:
generate-robot-report:
if: always()
needs: [ run-localstack-and-robot ]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Download reports
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: robot_reports
- name: Display structure of downloaded files
run: ls -R .
- name: Send report to commit
uses: joonvena/[email protected]
with:
gh_access_token: ${{ secrets.GITHUB_TOKEN }}
report_path: /robot_reports
report_path: .

1 comment on commit 8a57f6a

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
20 0 0 20 100 36.910242s

Passed Tests

Name ⏱️ Duration Suite
Test Wait For Log 0.127 s Cloudwatch
Test Log Insights 30.070 s Cloudwatch
Test Put And Query Item 0.254 s Dynamo
Test Delete And Update Key 0.129 s Dynamo
Test Delete And Update Nested Key 0.081 s Dynamo
Test Delete Item 0.057 s Dynamo
Test Insert New Key 0.073 s Dynamo
Test Put And Query Item With Sort Key 0.072 s Dynamo
Test Delete And Update Key With Sort Key 0.113 s Dynamo
Test Upload And List 0.428 s S3
Test Upload And List With Folder 0.069 s S3
Test Remove And List With Prefix 0.062 s S3
Test Download 0.039 s S3
Test Get Content 0.030 s S3
Test Copy 0.051 s S3
Test Metadata 0.032 s S3
Send and Receive Message 0.104 s Sqs
Send and Receive Messages 0.082 s Sqs
Invalid Queue Name 0.011 s Sqs
Delete Messages 5.026 s Sqs

Please sign in to comment.