Add container_sig_key_name as param for PVs #639
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: tests | |
on: [push, pull_request] | |
jobs: | |
tox: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
max-parallel: 5 | |
matrix: | |
include: | |
- python-version: 3.6 | |
os: ubuntu-20.04 | |
- python-version: 3.9 | |
os: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install libkrb5-dev | |
pip install tox | |
- name: Test with tox | |
run: | | |
PY=py$(echo ${{ matrix.python-version }} | tr -d ".") | |
tox -e ${PY} -- --cov-report=xml tests | |
- name: Upload coverage to codecov | |
uses: codecov/codecov-action@v2 | |
with: | |
file: ./coverage.xml | |
fail_ci_if_error: false | |
test-collection: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Fetch base branches for version calculation | |
run: | | |
git fetch origin master:master || : | |
[ -z $GITHUB_BASE_REF ] || git fetch origin $GITHUB_BASE_REF:$GITHUB_BASE_REF | |
- uses: actions/setup-python@v4 | |
- name: Install pandoc | |
run: | | |
sudo apt-get update | |
sudo apt-get install pandoc | |
- name: Test collection build | |
run: tests/integration/collection.sh |