Skip to content

test: disable test_zipchar #60

test: disable test_zipchar

test: disable test_zipchar #60

Workflow file for this run

# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python package
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '30 5 1 * *'
push:
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- "ubuntu-18.04"
- "ubuntu-20.04"
- "ubuntu-22.04"
- "macos-10.15"
- "macos-11"
- "windows-2019"
- "windows-2022"
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
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 ubuntu dependencies
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt-get update
sudo apt-get install -y unrar
- name: Install MacOS dependencies
if: startsWith(matrix.os, 'macos')
run: |
brew install rar
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .
pip install -r requirements-test.txt
- name: Test with pytest
run: |
cd tests
pytest -v .
- name: Lint
if: matrix.os == 'ubuntu-20.04'
run: |
./lint.sh