Bump version #47
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: linux-tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
# Python 3.3 and 3.4 have been removed since github won't provide these anymore | |
# As of 2023-03-26, Python 3.5 and 3.6 have been removed since github won't provide these anymore | |
# As of 2024-10-18, Python 2.7 has been removed since github won't provide it anymore | |
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12", 'pypy-3.6', 'pypy-3.7', 'pypy-3.8'] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
if [ -f cryptidy/requirements.txt ]; then pip install -r cryptidy/requirements.txt; fi | |
- name: Execute tests and generate coverage report | |
run: | | |
pip install pytest coverage | |
python -m coverage run -m pytest -s tests | |
- name: Upload Coverage to Codecov | |
uses: codecov/codecov-action@v1 |