JonathanHuot build and unittest #7
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: GitHub Python Build | |
run-name: ${{ github.actor }} build and unittest | |
on: [push] | |
jobs: | |
build: | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
strategy: | |
matrix: | |
python: ["3.8", "3.9", "3.10", "3.11"] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Python ${{ matrix.python }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Install prereq | |
run: pip install tox coveralls | |
- name: Run python tests | |
run: tox -e ${{ matrix.python }} | |
- name: Coveralls | |
run: coveralls |