aws shared credential file #1221
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: DAG Unit Tests | |
on: | |
push: | |
paths: | |
- 'dags/**' | |
- 'workflows/unit-test.*.yml' | |
pull_request: | |
workflow_dispatch: | |
defaults: | |
run: | |
shell: bash | |
working-directory: dags | |
jobs: | |
unit_tests: | |
name: Run Unit Tests -- Python 3.${{ matrix.pyver }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
pyver: [8, 9] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.${{ matrix.pyver }} | |
- name: Install tox | |
run: pip install tox | |
- name: Run Tox | |
run: tox -e py3${{ matrix.pyver }}-unit | |
- name: Generate Coverage Report | |
if: matrix.pyver == 9 | |
run: tox -e coverage | |
- name: Upload Coverage Report | |
if: matrix.pyver == 9 | |
uses: codecov/codecov-action@v1 | |
with: | |
files: dags/coverage.xml | |
flags: unit,gha,python-3.${{ matrix.pyver }} |