Skip to content

Commit

Permalink
Slim test
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalKalke committed Jan 29, 2024
1 parent 62f984d commit 207a046
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/upgrade-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,7 @@ name: Upgrade test

on:
push:
branches: [ "main", "release-*" ]
pull_request:
paths-ignore:
- 'docs/**'
- 'examples/**'
types:
- opened
- reopened
- synchronize
- ready_for_review
- converted_to_draft
branches: [ "main" ]

jobs:
upgrade-test:
Expand All @@ -32,18 +22,17 @@ jobs:
- name: set up Go
uses: actions/setup-go@v2
with:
go-version: '*' # use latest version
go-version: '*' #use latest version
- name: install latest warden operator from the release
run: |
go version
git fetch --tags
latest_tag=$(git describe --tags $(git rev-list --tags --max-count=1))
git checkout $latest_tag
git checkout $(git describe --tags $(git rev-list --tags --max-count=1))
make install
- name: checkout to latest commit and install warden
run: |
last_commit=$(git rev-parse origin/main)
git checkout $last_commit
git checkout $(git rev-parse origin/main)
make install
- name: run integration tests
run: make test

0 comments on commit 207a046

Please sign in to comment.