Update README.md #5
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 | |
on: | |
# Manually trigger-able in GitHub | |
workflow_dispatch: | |
# When a push occurs on either of these branches | |
push: | |
branches: | |
- main | |
# When a push occurs on a PR that targets these branches | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ubuntu: | |
name: ${{ matrix.os }}-${{ matrix.python-version }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ macos-latest, ubuntu-latest ] | |
python-version: [ '3.9' ] | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Tests | |
timeout-minutes: 120 | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
run: | | |
pip install --upgrade pip | |
pip install -r requirements.txt | |
pytest |