Skip to content

Commit

Permalink
use latest artifact action, set better job names, chmod
Browse files Browse the repository at this point in the history
  • Loading branch information
osterman committed Jun 15, 2024
1 parent 7cd8256 commit 351ac58
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:

# run localstack demo tests
localstack:
name: LocalStack Demo Tests
name: "[localstack] ${{ matrix.demo-folder }}"
needs: build
runs-on: ubuntu-latest
strategy:
Expand All @@ -99,11 +99,14 @@ jobs:
timeout-minutes: 20
steps:
- name: Download build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-artifacts
path: /usr/local/bin

- name: Set execute permissions on atmos
run: chmod +x /usr/local/bin/atmos

- name: Check out code into the Go module directory
uses: actions/checkout@v4

Expand All @@ -130,7 +133,7 @@ jobs:
# run k3s demo tests
k3s:
name: k3s Demo Tests
name: "[k3s] ${{ matrix.demo-folder }}"
needs: build
runs-on: ubuntu-latest
strategy:
Expand All @@ -141,11 +144,14 @@ jobs:
timeout-minutes: 20
steps:
- name: Download build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-artifacts
path: /usr/local/bin

- name: Set execute permissions on atmos
run: chmod +x /usr/local/bin/atmos

- name: Check out code into the Go module directory
uses: actions/checkout@v4

Expand All @@ -165,7 +171,7 @@ jobs:
# run other demo tests
mock:
name: Other Demo Tests (No Provider Required)
name: "[mock] ${{ matrix.demo-folder }}"
needs: build
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -194,11 +200,14 @@ jobs:
timeout-minutes: 20
steps:
- name: Download build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-artifacts
path: /usr/local/bin

- name: Set execute permissions on atmos
run: chmod +x /usr/local/bin/atmos

- name: Check out code into the Go module directory
uses: actions/checkout@v4

Expand Down

0 comments on commit 351ac58

Please sign in to comment.