-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #221 from i10416/tidy/minor-cleanup
tidy: minor cleanup
- Loading branch information
Showing
9 changed files
with
81 additions
and
81 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
name: SLinC CI | ||
on: | ||
pull_request: | ||
push: | ||
push: | ||
branches: | ||
- "master" | ||
|
||
|
||
jobs: | ||
jobs: | ||
format-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v3 | ||
- uses: coursier/cache-action@v6 | ||
- uses: coursier/[email protected] | ||
with: | ||
|
@@ -25,61 +25,61 @@ jobs: | |
- run: mkdir reports | ||
- name: Core tests | ||
run: sbt coverage test | ||
|
||
- run: | | ||
sbt coverageReport | ||
mkdir -p reports | ||
cp target/scala-3.3.1/scoverage-report/scoverage.xml reports/scoverage.xml | ||
# - run: | | ||
# ./mill core.scoverage.xmlReport | ||
# cp out/core/scoverage/xmlReport.dest/scoverage.xml reports/core-coverage.xml | ||
# env: | ||
# env: | ||
# JAVA_HOME: ${{ env.JAVA_HOME_17_X64}} | ||
|
||
|
||
|
||
# - name: Java 17 Implementation test | ||
# run: | | ||
# ./mill j17.compile | ||
# ./mill j17.test | ||
# env: | ||
# env: | ||
# JAVA_HOME: ${{ env.JAVA_HOME_17_X64}} | ||
|
||
# - run: | | ||
# ./mill j17.scoverage.xmlReport | ||
# cp out/j17/scoverage/xmlReport.dest/scoverage.xml reports/java17-coverage.xml | ||
|
||
# env: | ||
# env: | ||
# JAVA_HOME: ${{ env.JAVA_HOME_17_X64}} | ||
|
||
# - name: Java 19 Implementation test | ||
# run: | | ||
# ./mill j19.compile | ||
# ./mill j19.test | ||
# ./mill j19.test | ||
|
||
# - run: | | ||
# ./mill j19.scoverage.xmlReport | ||
# ./mill j19.scoverage.xmlReport | ||
# cp out/j19/scoverage/xmlReport.dest/scoverage.xml reports/java19-coverage.xml | ||
|
||
# - name: Runtime 17 implementation tests | ||
# run: ./mill runtime.test | ||
# env: | ||
# - name: Runtime 17 implementation tests | ||
# run: ./mill runtime.test | ||
# env: | ||
# JAVA_HOME: ${{ env.JAVA_HOME_17_X64 }} | ||
|
||
# - run: | | ||
# ./mill runtime.scoverage.xmlReport | ||
# ./mill runtime.scoverage.xmlReport | ||
# cp out/runtime/scoverage/xmlReport.dest/scoverage.xml reports/java-17-runtime-coverage.xml | ||
|
||
# env: | ||
# env: | ||
# JAVA_HOME: ${{ env.JAVA_HOME_17_X64 }} | ||
# - name: Runtime 19 implementation tests | ||
|
||
# - name: Runtime 19 implementation tests | ||
# run: ./mill runtime.test | ||
# - run: | | ||
# ./mill runtime.scoverage.xmlReport | ||
# cp out/runtime/scoverage/xmlReport.dest/scoverage.xml reports/java-19-runtime-coverage.xml | ||
|
||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v3 | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
directory: reports | ||
directory: reports |
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
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
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
Oops, something went wrong.