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
24 changes: 9 additions & 15 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
tests:
name: tests on ${{ matrix.python-version }}
name: "tests on ${{ matrix.python-version }} (optional: ${{ matrix.experimental }})"
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
Expand All @@ -17,6 +17,10 @@ jobs:
python-version: ['3.7', '3.8', '3.9', '3.10']
experimental: [false]

include:
- python-version: '3.11'
experimental: true

steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -26,24 +30,14 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install os dependencies
run: |
sudo apt-get -qq update
sudo apt-get install -yq \
libportmidi-dev \
libsdl-image1.2-dev \
libsdl-mixer1.2-dev \
libsdl-ttf2.0-dev \
libsdl1.2-dev \
libsoundtouch-dev \
libvorbis-dev

- name: Install python dependencies
- name: "Install python dependencies (optional: ${{ matrix.experimental }})"
continue-on-error: ${{ matrix.experimental }}
run: |
pip install coverage pytest pytest-cov
pip install -r requirements.txt

- name: Run tests
- name: "Run tests (optional: ${{ matrix.experimental }})"
continue-on-error: ${{ matrix.experimental }}
run: |
python setup.py check
pytest --cov=fretwork
Expand Down
14 changes: 0 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,6 @@ Shared code for FoFiX and FoF:R.

## Setup

### Dependencies

You'll need those packages to run tests:
* `glib`
* `sdl 1.2`
* `sdl_mixer 1.2`
* `libogg`
* `libvorbisfile`
* `libtheora`
* `soundtouch`

For Windows, you should use the [win32 dependency pack](https://www.dropbox.com/s/p8xv4pktq670q9i/fofix-win32-deppack-20130304-updated.zip?dl=0) (to unzip into the win32 directory).


## Related links

* Read the doc: https://fretwork.readthedocs.io
Expand Down