-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update CI and fix readme links (#201)
* fix readme links * update CI and add downstream tests * mark broken tests * Add downstream tests for OSMToolset
- Loading branch information
Showing
6 changed files
with
101 additions
and
43 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,43 +1,61 @@ | ||
name: CI | ||
|
||
on: | ||
- push | ||
- pull_request | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
test: | ||
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} | ||
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
version: | ||
- '1.6' | ||
- 'nightly' | ||
- '1.10' | ||
- '1' | ||
- 'pre' | ||
os: | ||
- ubuntu-latest | ||
- macOS-latest | ||
- windows-latest | ||
arch: | ||
- x86 | ||
- x64 | ||
exclude: | ||
- os: macOS-latest | ||
- 'x64' | ||
- 'x86' | ||
include: | ||
- os: ubuntu-latest | ||
version: '1.6' | ||
arch: x64 | ||
- os: ubuntu-latest | ||
version: '1.6' | ||
arch: x86 | ||
- os: macOS-13 | ||
version: '1' | ||
arch: x64 | ||
- os: macOS-13 | ||
version: 'pre' | ||
arch: x64 | ||
- os: macOS-14 | ||
version: '1' | ||
arch: aarch64 | ||
- os: macOS-14 | ||
version: 'pre' | ||
arch: aarch64 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: julia-actions/setup-julia@v1 | ||
- uses: julia-actions/setup-julia@v2 | ||
with: | ||
version: ${{ matrix.version }} | ||
arch: ${{ matrix.arch }} | ||
- uses: julia-actions/julia-buildpkg@latest | ||
- uses: julia-actions/julia-runtest@latest | ||
- name: Emit coverage file | ||
shell: bash | ||
run: | | ||
julia <<CODE | ||
using Pkg | ||
Pkg.add("Coverage") | ||
using Coverage | ||
LCOV.writefile("lcov.txt", process_folder()) | ||
CODE | ||
- uses: codecov/codecov-action@v3 | ||
show-versioninfo: true | ||
- uses: julia-actions/cache@v2 | ||
- uses: julia-actions/julia-buildpkg@v1 | ||
- uses: julia-actions/julia-runtest@v1 | ||
- uses: julia-actions/julia-processcoverage@v1 | ||
- uses: codecov/codecov-action@v4 | ||
with: | ||
file: ./lcov.txt | ||
token: ${{ secrets.CODECOV_TOKEN }} # required | ||
file: lcov.info |
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Downstream | ||
on: | ||
push: | ||
branches: [master] | ||
tags: [v*] | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
name: ${{ matrix.package }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
package: | ||
- "Genie" | ||
- "OSMToolset" | ||
- "PPTX" | ||
- "Serde" | ||
- "XLSX" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: julia-actions/setup-julia@v2 | ||
with: | ||
version: 1 | ||
arch: x64 | ||
show-versioninfo: true | ||
- uses: julia-actions/julia-buildpkg@latest | ||
- name: Load this and run the downstream tests | ||
shell: julia --color=yes {0} | ||
run: | | ||
using Pkg | ||
Pkg.Registry.update() | ||
Pkg.activate(;temp=true) | ||
# force it to use this PR's version of the package | ||
ENV["JULIA_PKG_DEVDIR"]= mktempdir() | ||
Pkg.develop([ | ||
PackageSpec(path="."), | ||
PackageSpec(name="${{ matrix.package }}"), | ||
]) | ||
Pkg.update() | ||
Pkg.test("${{ matrix.package }}") |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[deps] | ||
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" | ||
EzXML = "8f5d6c58-4d21-5cfd-889c-e3ad7ee6a615" | ||
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568" | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" |
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