Cherry pick PR #3501: Fix starboard_platform_tests install target dep… #1615
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: python-tests_24.lts.1+ | |
on: | |
pull_request: | |
push: | |
branches: | |
- '24.lts.1\+' | |
concurrency: | |
group: '${{ github.workflow }}-${{ github.event_name }}-${{ inputs.platform }} @ ${{ github.event.pull_request.number || github.sha }}' | |
cancel-in-progress: true | |
permissions: {} | |
jobs: | |
python-test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
python-version: ['3.7', '3.11'] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: kaidokert/[email protected] | |
with: | |
fetch-depth: 1 | |
persist-credentials: false | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
- name: Install Pip Packages | |
run: pip install --require-hashes --no-deps -r ${{ github.workspace }}/docker/pytest/requirements.txt | |
- name: Run Tests | |
run: coverage run -m pytest | |
- name: Coverage Report | |
run: coverage report -m |