Bump dessant/lock-threads from 4 to 5 #433
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
# Based on the `python-app.yml` template from GitHub actions: | |
# https://github.com/actions/starter-workflows/blob/main/ci/python-app.yml | |
# | |
# Adapted by Diego Ramirez. | |
name: Python application tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.8, 3.9, "3.10", 3.11] # all the versions intended for text-formatter | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Display Python version | |
run: python -c "import sys; print('Python version:', sys.version)" | |
- name: Install pip dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools nox | |
- name: Run Nox | |
run: | | |
nox --non-interactive -s test | |
- name: Finalize the test | |
run: echo 'Process completed succesfully!' |