Skip to content

Commit

Permalink
run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
n-g committed Feb 26, 2024
1 parent 5c98705 commit 945ca0a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
steps:
- uses: actions/checkout@v4

- run: git submodule update --init actions-toolkit

- name: Setup Node 20
uses: actions/setup-node@v4
with:
Expand All @@ -46,7 +48,7 @@ jobs:
id: diff

# If index.js was different than expected, upload the expected version as an artifact
- uses: actions/upload-artifact@v4
- uses: namespace-actions/upload-artifact@v0
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with:
name: dist
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/licensed.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Licensed

on:
push:
branches:
- main
pull_request:
branches:
- main
# push:
# branches:
# - main
# pull_request:
# branches:
# - main
workflow_dispatch:

jobs:
test:
Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
runs-on: [ubuntu-latest, macos-latest, windows-latest]
runs-on: [namespace-profile-default, namespace-profile-default-arm64, namespace-profile-macos-sm]
fail-fast: false

runs-on: ${{ matrix.runs-on }}
Expand All @@ -25,6 +25,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- run: git submodule update --init actions-toolkit

- name: Setup Node 20
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -81,7 +83,7 @@ jobs:
# Download Artifact #1 and verify the correctness of the content
- name: 'Download artifact #1'
uses: actions/download-artifact@v4
uses: namespace-actions/download-artifact@v0
with:
name: 'Artifact-A-${{ matrix.runs-on }}'
path: some/new/path
Expand All @@ -101,7 +103,7 @@ jobs:

# Download Artifact #2 and verify the correctness of the content
- name: 'Download artifact #2'
uses: actions/download-artifact@v4
uses: namespace-actions/download-artifact@v0
with:
name: 'Artifact-Wildcard-${{ matrix.runs-on }}'
path: some/other/path
Expand All @@ -122,7 +124,7 @@ jobs:

# Download Artifact #4 and verify the correctness of the content
- name: 'Download artifact #4'
uses: actions/download-artifact@v4
uses: namespace-actions/download-artifact@v0
with:
name: 'Multi-Path-Artifact-${{ matrix.runs-on }}'
path: multi/artifact
Expand Down Expand Up @@ -155,7 +157,7 @@ jobs:

# Download replaced Artifact #1 and verify the correctness of the content
- name: 'Download artifact #1 again'
uses: actions/download-artifact@v4
uses: namespace-actions/download-artifact@v0
with:
name: 'Artifact-A-${{ matrix.runs-on }}'
path: overwrite/some/new/path
Expand Down Expand Up @@ -189,7 +191,7 @@ jobs:
# easier to identify each of the merged artifacts
separate-directories: true
- name: 'Download merged artifacts'
uses: actions/download-artifact@v4
uses: namespace-actions/download-artifact@v0
with:
name: merged-artifacts
path: all-merged-artifacts
Expand Down Expand Up @@ -225,7 +227,7 @@ jobs:

# Download merged artifacts and verify the correctness of the content
- name: 'Download merged artifacts'
uses: actions/download-artifact@v4
uses: namespace-actions/download-artifact@v0
with:
name: Merged-Artifact-As
path: merged-artifact-a
Expand Down

0 comments on commit 945ca0a

Please sign in to comment.