Skip to content

Fix AtomsBaseTesting.test_approx_eq issue #306

Fix AtomsBaseTesting.test_approx_eq issue

Fix AtomsBaseTesting.test_approx_eq issue #306

Workflow file for this run

name: CI
on:
push:
branches:
- master
tags: ['*']
pull_request:
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.group }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version:
- '1.6'
- '1.9'
- '1.10'
- 'nightly'
group:
- Core
- AtomsBaseTesting
continue-on-error: ${{ matrix.version == 'nightly' }}
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
env:
GROUP: ${{ matrix.group }}
GROUP_COVERAGE: true
- uses: julia-actions/julia-processcoverage@v1
with:
directories: src,lib/AtomsBaseTesting/src
- uses: codecov/codecov-action@v4
with:
files: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
docs:
name: Documentation
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1'
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-docdeploy@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: |
julia --project=docs -e '
using Documenter: DocMeta, doctest
using AtomsBase
DocMeta.setdocmeta!(AtomsBase, :DocTestSetup, :(using AtomsBase); recursive=true)
doctest(AtomsBase)'