Skip to content

Commit

Permalink
Updated GitHub Actions CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
vruusmann committed Dec 13, 2024
1 parent 20532ff commit 4ef7e52
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,18 @@ jobs:
java: [8, 11, 17]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- uses: actions/setup-java@v1
cache: 'pip'
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
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
python -m pytest --forked

0 comments on commit 4ef7e52

Please sign in to comment.