Minor updates to the readme #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: sparkMeasure CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ '3.9', '3.10' ] | |
java-version: [ 8, 11 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Java ${{ matrix.java-version }} | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: ${{ matrix.java-version }} | |
- name: Build using sbt for all Scala versions supported | |
run: sbt +package | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: sparkMeasure package scala 2.13 | |
path: target/scala-2.13/*.jar | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: sparkMeasure package scala 2.12 | |
path: target/scala-2.12/*.jar | |
- name: Run tests for all Scala versions supported | |
run: sbt +test | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r python/requirements.txt | |
- name: Run pytest | |
run: | | |
pytest python/sparkmeasure |