Drop use of get_os_version_codename_swift [wallaby backport] #667
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: charm-helpers CI | |
on: | |
push: | |
branches: | |
- master | |
- 'stable/**' | |
pull_request: | |
branches: | |
- master | |
- 'stable/**' | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
include: | |
- python-version: 3.6 | |
env: pep8,py36 | |
- python-version: 3.7 | |
env: pep8,py37 | |
- python-version: 3.8 | |
env: pep8,py38 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install juju | |
run: | | |
sudo snap install juju --classic | |
- name: Install packages | |
run: | | |
sudo apt -qq update | |
sudo apt install --yes libapt-pkg-dev # For python-apt wheel build | |
sudo apt install --yes bzr | |
- name: Install tox | |
run: pip install tox | |
- name: Test | |
run: tox -c tox.ini -e ${{ matrix.env }} |