Skip to content

Commit

Permalink
Try out smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Jul 19, 2023
1 parent abeecd0 commit ee8a983
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
- { path: python, name: pipenv, ecosystem: pip}
- { path: python, name: pip-compile, ecosystem: pip }
- { path: python, name: poetry, ecosystem: pip }
- { path: swift, name: swift, ecosystem: swift }
- { path: terraform, name: terraform, ecosystem: terraform }
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -207,6 +208,12 @@ jobs:
- 'common/**'
- 'updater/**'
- 'git_submodules/**'
swift:
- .github/workflows/smoke.yml
- Dockerfile.updater-core
- 'common/**'
- 'updater/**'
- 'swift/**'
terraform:
- .github/workflows/smoke.yml
- Dockerfile.updater-core
Expand Down Expand Up @@ -238,12 +245,12 @@ jobs:
gh release download --repo dependabot/cli -p "*linux-amd64.tar.gz"
tar xzvf *.tar.gz >/dev/null 2>&1
./dependabot --version
URL=https://api.github.com/repos/dependabot/smoke-tests/contents/tests/smoke-${{ matrix.suite.name }}.yaml
URL=https://api.github.com/repos/dependabot/smoke-tests/contents/tests/smoke-${{ matrix.suite.name }}.yaml?ref=deivid-rodriguez/swift-smoke-test
curl $(gh api $URL --jq .download_url) -o smoke.yaml
# Download the Proxy cache. The job is ideally 100% cached so no real calls are made.
- name: Download cache
if: steps.changes.outputs[matrix.suite.name] == 'true'
if: steps.changes.outputs[matrix.suite.name] == 'true' && matrix.suite.name != 'swift'
run: |
gh run download --repo dependabot/smoke-tests --name cache-${{ matrix.suite.name }} --dir cache
Expand Down

0 comments on commit ee8a983

Please sign in to comment.