Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This workflow will install Python dependencies then run the tests on multiple Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Python package

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.12"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: tests
run: |
python tests/suite.py
PYTHONPATH=$(pwd):$PYTHONPATH python s2protocol/s2_cli.py --all --ndjson --profile tests/s2replaystatsdata/2018_05_17_Z_Raphtor_VS_T_Tocon.SC2Replay
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

6 changes: 0 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
install_requires = [
'mpyq >= 0.2.2',
]
tests_require = [
'tox',
]

if sys.version_info < (2, 7):
install_requires.append('argparse')
Expand Down Expand Up @@ -39,9 +36,6 @@
'Topic :: System :: Archiving',
],
install_requires=install_requires,
extras_require={
'tests': tests_require,
},
entry_points={
'console_scripts': [
's2protocol = s2protocol.s2protocol:main',
Expand Down
12 changes: 0 additions & 12 deletions tox.ini

This file was deleted.