final tweak #11
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: Tox | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: | |
- '2.7' | |
- '3.7' | |
- '3.8' | |
- '3.9' | |
- '3.10' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
if: ${{ matrix.python-version != '2.7' }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Set up Python ${{ matrix.python-version }} | |
if: ${{ matrix.python-version == '2.7' }} | |
run: | | |
sudo apt-get install -y python2 | |
- name: Install system packages | |
run: | | |
sudo apt-get install -y libssl-dev openssl swig | |
- name: Install python dependencies | |
run: | | |
pip install tox tox-gh-actions wheel | |
- name: Running tox | |
run: tox | |
# The end. |