Skip to content

Commit c5cf70c

Browse files
committed
Remove python build from CI
It needs more work at another time
1 parent df552b8 commit c5cf70c

File tree

1 file changed

+16
-21
lines changed

1 file changed

+16
-21
lines changed

.github/workflows/build-test.yml

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,35 +4,26 @@ on:
44
pull_request:
55
branches: ['**']
66
push:
7-
branches: ['master', 'develop', 'release/*']
7+
branches: ['master', 'develop', 'release/*', 'spark-3.2']
88
tags: [v*]
99
release:
1010
types: [published]
1111

1212
jobs:
1313
build:
14-
runs-on: ubuntu-20.04
15-
container:
16-
image: s22s/debian-openjdk-conda-gdal:6790f8d
14+
runs-on: ubuntu-latest
1715

1816
steps:
1917
- uses: actions/checkout@v2
2018
with:
2119
fetch-depth: 0
2220
- uses: coursier/cache-action@v6
23-
- uses: olafurpg/setup-scala@v13
21+
- name: Setup JDK
22+
uses: actions/setup-java@v3
2423
with:
25-
java-version: [email protected]
26-
27-
- name: Set up Python 3.8
28-
uses: actions/setup-python@v2
29-
with:
30-
python-version: 3.8
31-
32-
- name: Install Conda dependencies
33-
run: |
34-
# $CONDA_DIR is an environment variable pointing to the root of the miniconda directory
35-
$CONDA_DIR/bin/conda install -c conda-forge --yes --file pyrasterframes/src/main/python/requirements-condaforge.txt
24+
distribution: temurin
25+
java-version: 8
26+
cache: sbt
3627

3728
# Do just the compilation stage to minimize sbt memory footprint
3829
- name: Compile
@@ -47,11 +38,15 @@ jobs:
4738
- name: Experimental tests
4839
run: sbt -batch experimental/test
4940

50-
- name: Create PyRasterFrames package
51-
run: sbt -v -batch pyrasterframes/package
52-
53-
- name: Python tests
54-
run: sbt -batch pyrasterframes/test
41+
## TODO: Update python build to be PEP 517 compatible
42+
# - name: Install Conda dependencies
43+
# run: |
44+
# # $CONDA_DIR is an environment variable pointing to the root of the miniconda directory
45+
# $CONDA_DIR/bin/conda install -c conda-forge --yes --file pyrasterframes/src/main/python/requirements-condaforge.txt
46+
# - name: Create PyRasterFrames package
47+
# run: sbt -v -batch pyrasterframes/package
48+
# - name: Python tests
49+
# run: sbt -batch pyrasterframes/test
5550

5651
- name: Collect artifacts
5752
if: ${{ failure() }}

0 commit comments

Comments
 (0)