Skip to content

Commit

Permalink
Move tests back to package
Browse files Browse the repository at this point in the history
  • Loading branch information
allenporter committed Jul 15, 2023
1 parent ae921d1 commit ffc953f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ jobs:
python-version:
- "3.10"
- "3.11"
extra_requirements:
- ""
- "pydantic==1.10.11"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand All @@ -32,7 +29,6 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
if [ -f ${{ matrix.extra_requirements }} ]; then pip install ${{ matrix.extra_requirements }}; fi
- uses: supplypike/setup-bin@v3
with:
uri: https://github.com/kyverno/kyverno/releases/download/v1.9.0/kyverno-cli_v1.9.0_linux_x86_64.tar.gz
Expand All @@ -41,6 +37,10 @@ jobs:
- name: Test with pytest
run: |
SKIP_DIFF_TESTS=1 pytest --cov=flux_local --cov-report=term-missing
- name: Test with pytest pydantic v1
run: |
pip install pydantic==1.10.11
SKIP_DIFF_TESTS=1 pytest --cov=flux_local --cov-report=term-missing
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit ffc953f

Please sign in to comment.