Skip to content

Improved build configuration #47

Improved build configuration

Improved build configuration #47

Workflow file for this run

name: python
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
java: [8, 11, 17]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- run: |
python -m pip install --upgrade pip
pip install pytest pytest-forked
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- run: |
pytest --forked