Add Andy as code owner #126
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: Validate | |
on: | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened | |
- reopened | |
- synchronize | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ '3.8', '3.11' ] | |
name: Python ${{ matrix.python-version }} | |
timeout-minutes: 10 | |
env: | |
SHIPPO_TOKEN: ${{ secrets.SHIPPO_TOKEN }} | |
concurrency: | |
group: python-sdk-check | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
id: setup_python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: cache dependencies | |
uses: actions/cache@v4 | |
with: | |
path: ./.venv | |
key: python-${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('setup.py') }} | |
- name: Install dependencies | |
run: | | |
make install | |
- name: Check | |
run: make check | |
- name: Test Reports | |
if: always() | |
uses: xportation/junit-coverage-report@main | |
with: | |
junit-path: build/test_results/report.xml | |
- name: Archive test results | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: test-results-${{ matrix.python-version }} | |
path: | | |
build/test_results |