diff --git a/.github/workflows/recipes.yml b/.github/workflows/recipes.yml new file mode 100644 index 0000000..e55c8c4 --- /dev/null +++ b/.github/workflows/recipes.yml @@ -0,0 +1,58 @@ +name: GeoInterfaceRecipes CI +on: + pull_request: + paths-ignore: + - "docs/**" + - "*.md" + branches: + - main + - breaking-release + push: + paths-ignore: + - "docs/**" + - "*.md" + branches: + - main + - breaking-release + tags: "*" + +concurrency: + group: cairomakie-${{ github.ref }} + cancel-in-progress: true + +jobs: + test: + name: GeoInterfaceRecipes Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + version: + - "lts" + - "1" # automatically expands to the latest stable 1.x release of Julia + os: + - ubuntu-latest + arch: + - x64 + steps: + - name: Checkout + uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 + with: + version: ${{ matrix.version }} + arch: ${{ matrix.arch }} + - uses: julia-actions/cache@v2 + - name: Install Julia dependencies + shell: julia --project=monorepo {0} + run: | + using Pkg; + # dev mono repo versions + pkg"dev . ./GeoInterfaceRecipes" + - name: Run the tests + continue-on-error: true + run: > + julia --color=yes --project=monorepo -e 'using Pkg; Pkg.test("GeoInterfaceRecipes", coverage=true)' + && echo "TESTS_SUCCESSFUL=true" >> $GITHUB_ENV + - name: Exit if tests failed + if: ${{ env.TESTS_SUCCESSFUL != 'true' }} + run: exit 1 diff --git a/GeoInterfaceRecipes/Project.toml b/GeoInterfaceRecipes/Project.toml index 291d339..abfb290 100644 --- a/GeoInterfaceRecipes/Project.toml +++ b/GeoInterfaceRecipes/Project.toml @@ -1,6 +1,6 @@ name = "GeoInterfaceRecipes" uuid = "0329782f-3d07-4b52-b9f6-d3137cf03c7a" -version = "1.0.3" +version = "1.1.0" authors = ["JuliaGeo and contributors"] [deps]