Merge pull request #988 from kristiankyvik/update-docs-quick-overview #3
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 pytest all python versions | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.10', '3.11'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' #Note that pip is for the tox level. Poetry is still used for installing the specific environments (tox.ini) | |
- name: Install Tkinter | |
run: sudo apt-get install python3-tk | |
- name: Install tox | |
run: pip install tox | |
- name: Run tox | |
run: tox |