Merge pull request #41 from enzok/master #161
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: build | |
on: [push, pull_request] | |
jobs: | |
tester: | |
name: Test them all | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
max-parallel: 4 | |
matrix: | |
operating-system: [ubuntu-latest] | |
python-version: ["3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
sudo apt-get install zpaq p7zip-full rar unace-nonfree cabextract lzip libjpeg8-dev zlib1g-dev gnupg | |
python -m pip install --upgrade pip | |
pip install pytest>=3.6 mock "pytest-cov<2.6.0" codecov | |
pip install -e ".[shellcode]" | |
- name: Test with pytest | |
run: | | |
pip install pytest | |
pytest |