generated from jacobtomlinson/python-container-action
-
Notifications
You must be signed in to change notification settings - Fork 3
43 lines (40 loc) · 1.25 KB
/
it-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# This workflow verifies that for the given sets of inputs/outputs the gh-action_release defined in the current branch (PR)
# still works as expected.
#
# It checks for the current branch, and allows checking of new input/output parameters at the PR time (Fail fast principles)
# without having to release the action first and then use it in a side project.
name: Integration tests
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
permissions:
id-token: write
contents: write
jobs:
release:
name: Test action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 (Necessary to access local action)
- uses: ./main
env:
ARTIFACTORY_ACCESS_TOKEN: "42"
BINARIES_AWS_DEPLOY: "s3://empty"
SLACK_API_TOKEN: "slack-token-test"
with:
dry_run: true
publish_to_binaries: true
slack_channel: build
release-reusable_workflow:
name: Test reusable workflow
uses: ./.github/workflows/main.yaml
with:
dryRun: true
publishToBinaries: false
binariesS3Bucket: test-bucket
slackChannel: ""
mavenCentralSync: false
publishJavadoc: false