[PERF-337] skip partitions endpoint in paging metrics #137
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
# SPDX-License-Identifier: Apache-2.0 | |
# Licensed to the Ed-Fi Alliance under one or more agreements. | |
# The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. | |
# See the LICENSE and NOTICES files in the project root for more information. | |
name: Ed-Fi Paging Volume Tests | |
on: | |
pull_request: | |
paths: | |
- 'src/edfi-paging-test/**' | |
- '!src/edfi-paging-test/**/*.md' | |
push: | |
paths: | |
- 'src/edfi-paging-test/**' | |
- '!src/edfi-paging-test/**/*.md' | |
branches: | |
- main | |
workflow_dispatch: | |
permissions: read-all | |
jobs: | |
test-edfi-paging-test: | |
name: Run unit, style, and type checks | |
runs-on: ubuntu-20.04 | |
env: | |
PACKAGE_NAME: edfi-paging-test | |
SRC_DIR: src/edfi-paging-test | |
LOCK_FILE: src/edfi-paging-test/poetry.lock | |
permissions: | |
checks: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
- name: Install Poetry | |
run: pipx install poetry | |
- name: Install Python 3.9 | |
uses: actions/setup-python@98f2ad02fd48d057ee3b4d4f66525b231c3e52b6 # v3.1.2 | |
with: | |
python-version: "3.9" | |
cache: "poetry" | |
- name: Run CI Test Task | |
run: | | |
# Next line keeps poetry from trying to use the runner's default Python version | |
pushd ${{ env.SRC_DIR }} && poetry env use "3.9" && popd | |
python ./eng/build.py ci:test ${{ env.PACKAGE_NAME }} | |
- name: Test Report | |
uses: dorny/test-reporter@c9b3d0e2bd2a4e96aaf424dbaa31c46b42318226 # v1.6.0 | |
if: success() || failure() | |
with: | |
name: Pytest results | |
path: "**/pytest-junit.xml" | |
reporter: java-junit | |
- name: Test Report | |
uses: dorny/test-reporter@c9b3d0e2bd2a4e96aaf424dbaa31c46b42318226 # v1.6.0 | |
if: success() || failure() | |
with: | |
name: MyPy results | |
path: "**/mypy-junit.xml" | |
reporter: java-junit |