Push by JohannesEbke #27
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: Tests | |
run-name: Push by ${{ github.actor }} | |
on: [push] | |
jobs: | |
pytest: | |
strategy: | |
matrix: | |
version: [3.7, 3.11] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Python ${{ matrix.version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.version }} | |
- name: Install Dependencies | |
run: pip install flake8 yapf pytest | |
- name: Install aws-list-all | |
run: python setup.py install | |
- name: Check that aws-list-all --help works. | |
run: aws_list_all --help | |
- run: pytest -vvv aws_list_all | |
- run: flake8 aws_list_all | |
- run: yapf -d -r aws_list_all/ |