Test XLSX in downstream tests #64
Workflow file for this run
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
name: Downstream | |
on: | |
push: | |
branches: [main] | |
tags: [v*] | |
pull_request: | |
jobs: | |
test: | |
name: ${{ matrix.package }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
package: | |
- "PPTX" | |
- "XLSX" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v2 | |
with: | |
version: 1 | |
arch: x64 | |
- 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 }}") |