Bump docker/login-action from 2 to 3 #1713
Workflow file for this run
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: Python Tests | |
on: | |
push: | |
paths-ignore: | |
- 'docs/**' | |
branches: | |
- master | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
workflow_run: | |
workflows: | |
- Python Lint | |
types: | |
- completed | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.8, 3.9] | |
steps: | |
- name: Checkout kapitan recursively | |
uses: actions/checkout@master | |
with: | |
submodules: recursive | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install testing dependencies | |
run: | | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 762E3157 | |
sudo apt-get -qq update | |
sudo apt-get install -y gnupg2 git curl | |
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | |
chmod 700 get_helm.sh | |
sudo ./get_helm.sh | |
pip3 install --editable ".[test]" | |
pip3 install coverage black | |
- name: Run tests | |
run: |- | |
make test && make test_coverage |