Bump actions/checkout from 3 to 4 #198
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
# SPDX-FileCopyrightText: 2017-2023 EasyCoding Team | |
# | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
name: Python CI | |
on: | |
push: | |
branches: | |
- 'master' | |
pull_request: | |
branches: | |
- 'master' | |
jobs: | |
build: | |
name: Build project | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.10', '3.11'] | |
steps: | |
- name: Fetching sources | |
uses: actions/checkout@v4 | |
- name: Setting up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Installing dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install tox | |
- name: Running tests | |
run: | | |
tox |