feat: use new credentials v2 api #802
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: Test QPC | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main, "release/*"] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.12"] # Expand like ["3.12", "3.13"] to test more versions. | |
type: | |
[ | |
config-verify, | |
manpage-test, | |
lint, | |
test-coverage, | |
] | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # fetches all commits/tags | |
- name: Install poetry | |
run: pipx install poetry | |
- name: Set up Python | |
uses: actions/[email protected] | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: "poetry" | |
cache-dependency-path: "poetry.lock" | |
- name: Install dependencies | |
run: poetry install --with build | |
- name: Test phase | |
run: make ${{ matrix.type }} | |
- name: Upload coverage to Codecov | |
uses: codecov/[email protected] |