Skip to content

Commit

Permalink
Add test workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
vitropy committed Jun 24, 2024
1 parent 014aec1 commit 8902ee4
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
pattern: |
entropy_${{ needs.build.outputs.git_ref_basename }}*
entropy-tss_${{ needs.build.outputs.git_ref_basename }}*
pattern: "!*.dockerbuild"
- name: Create release
env:
GH_TOKEN: ${{ github.token }}
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Test patterns
run-name: Test patterns (started by @${{ github.triggering_actor }})

on:
push:
tags:
- test/patterns/**

jobs:

git-ref-basename:
uses: ./.github/workflows/git-ref-basename.yaml


test-pattern:
name: Test glob patterns
needs:
- git-ref-basename
permissions:
contents: write
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/upload-artifact@v4
with:
name: test-pattern
path: |
docker-compose-common.yaml
docker-compose.yaml
- uses: actions/download-artifact@v4
with:
pattern: "!test*"

0 comments on commit 8902ee4

Please sign in to comment.