Update CI for psy4 feature branches #1893
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: Test-CI | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
test: | |
name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
julia-version: ['1'] | |
julia-arch: [x64] | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Fail if Manifest is present | |
uses: andstor/file-existence-action@v3 | |
with: | |
files: "Manifest.toml" | |
- name: Manifest exists | |
if: ${{ github.event.pull_request.base.ref }} && steps.check_files.outputs.files_exists == 'true' | |
run: exit 1 | |
- uses: julia-actions/setup-julia@latest | |
with: | |
version: ${{ matrix.julia-version }} | |
arch: ${{ matrix.julia-arch }} | |
- uses: julia-actions/julia-buildpkg@latest | |
env: | |
PYTHON: "" | |
- uses: julia-actions/julia-runtest@latest | |
env: | |
PYTHON: "" | |
- uses: julia-actions/julia-processcoverage@v1 | |
- uses: codecov/codecov-action@v4 | |
with: | |
file: ./lcov.info | |
flags: unittests | |
name: codecov-umbrella | |
fail_ci_if_error: false | |
token: ${{ secrets.CODECOV_TOKEN }} |