tests: update tests #132
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Test' | |
on: ['push'] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: 'actions/checkout@v3' | |
- name: 'Build' | |
run: 'docker build -t helm .' | |
- name: 'Test commands' | |
run: 'docker run --rm -i -v $PWD:/workspace --workdir=/workspace --entrypoint=/workspace/tests/test-snap.sh helm' | |
- name: 'Test chart' | |
run: 'docker run --rm -i -v $PWD:/workspace --workdir=/workspace --entrypoint=/workspace/tests/charts/test.sh helm' | |
- name: 'Test helm version' | |
run: 'docker run --rm -i --entrypoint=helm helm version -c' | |
- name: 'Test helm3 version' | |
run: 'docker run --rm -i --entrypoint=helm3 helm version' |