Skip to content

install pytest

install pytest #389

Workflow file for this run

name: Java Build
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: write
jobs:
build:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- windows-latest
- macos-latest
steps:
- name: Setup Maven Action
uses: s4u/[email protected]
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
cache: pip # caching pip dependencies
- name: install pytest
run: |
pip install pytest
- name: Build with Maven
uses: coactions/setup-xvfb@v1
with:
run: mvn -B package --file pom.xml
SBOM-upload:
name: SBOM-upload
runs-on: ubuntu-latest
steps:
- name: Setup Maven Action
uses: s4u/[email protected]
- name: Submit Dependency Snapshot
uses: advanced-security/maven-dependency-submission-action@v4