Skip to content

Commit 3eeef00

Browse files
committed
revert build
1 parent cd1d862 commit 3eeef00

1 file changed

Lines changed: 16 additions & 30 deletions

File tree

.github/workflows/main.yml

Lines changed: 16 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -17,33 +17,19 @@ jobs:
1717
spark-version: [ 3.0.1, 3.0.2, 3.0.3, 3.1.2, 3.2.1, 3.2.4, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.4.0, 3.4.1, 3.5.0 ]
1818

1919
steps:
20-
- uses: actions/checkout@v3.5.2
21-
22-
- name: Set up JDK 1.8
23-
uses: actions/setup-java@v3.11.0
24-
with:
25-
java-version: '8'
26-
distribution: 'adopt'
27-
28-
- name: Run tests and produce coverage
29-
run: sbt -DsparkVersion="${{matrix.sparkVersion}}" clean coverageOn test coverageReport
30-
31-
# - name: Upload coverage to CodeCov
32-
# uses: codecov/codecov-action@v3.1.4
33-
# with:
34-
# token: ${{ secrets.CODECOV_TOKEN }}
35-
# files: ./target/spark-${{ matrix.sparkVersion }}/scala-2.12/coverage-report/cobertura.xml
36-
# env_vars: ${{ matrix.sparkVersion }}
37-
# fail_ci_if_error: true
38-
# name: spark-cef-reader
39-
# verbose: true
40-
41-
- name: Create package
42-
if: ${{ github.event_name != 'pull_request' }}
43-
run: sbt -DsparkVersion="${{matrix.sparkVersion}}" clean coverageOff package
44-
45-
- name: Upload the package
46-
uses: actions/upload-artifact@v3.1.2
47-
with:
48-
path: ./target/**/spark-cef-reader*.jar
49-
if-no-files-found: warn
20+
- uses: actions/checkout@v3.5.2
21+
22+
- name: Set up JDK 1.8
23+
uses: actions/setup-java@v3.11.0
24+
with:
25+
java-version: '8'
26+
distribution: 'adopt'
27+
28+
- name: Test and package
29+
run: sbt -DsparkVersion="${{ matrix.spark-version }}" clean compile test package
30+
31+
- name: Upload the package
32+
uses: actions/upload-artifact@v3.1.2
33+
with:
34+
path: ./target/**/spark-cef-reader*.jar
35+
if-no-files-found: warn

0 commit comments

Comments
 (0)