Skip to content

Bump actions/setup-python from 3 to 5 #2

Bump actions/setup-python from 3 to 5

Bump actions/setup-python from 3 to 5 #2

Workflow file for this run

name: Main
on: [workflow_dispatch, push, pull_request]
# Needed by Aws configure credentials
permissions:
id-token: write
contents: read
#
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
#
env:
AWS_DEFAULT_REGION: us-west-2
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.12]
steps:
- uses: actions/checkout@v4
- name: configure aws credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::631969445205:role/github-action-role
role-session-name: data-ops-utilities-role-session
#
aws-region: ${{ env.AWS_DEFAULT_REGION }}
#
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
pip install pytest
- name: Run tests
run: |
pytest