diff --git a/.appveyor.yml b/.appveyor.yml deleted file mode 100644 index 269003b..0000000 --- a/.appveyor.yml +++ /dev/null @@ -1,32 +0,0 @@ -# Documentation: https://github.com/JuliaCI/Appveyor.jl -environment: - matrix: - - julia_version: 1.8 - - julia_version: nightly -platform: - - x64 -cache: - - '%USERPROFILE%\.julia\artifacts' -matrix: - allow_failures: - - julia_version: nightly -branches: - only: - - main - - /release-.*/ -notifications: - - provider: Email - on_build_success: false - on_build_failure: false - on_build_status_changed: false -install: - - ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1")) -build_script: - - echo "%JL_BUILD_SCRIPT%" - - C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%" -test_script: - - echo "%JL_TEST_SCRIPT%" - - C:\julia\bin\julia -e "%JL_TEST_SCRIPT%" -on_success: - - echo "%JL_CODECOV_SCRIPT%" - - C:\julia\bin\julia -e "%JL_CODECOV_SCRIPT%" diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 423cf19..9506fe0 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -19,6 +19,8 @@ jobs: matrix: version: - '1.8' + - '1.9' + - '1.10' - 'nightly' os: - ubuntu-latest @@ -31,15 +33,6 @@ jobs: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - uses: julia-actions/cache@v1 - - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-runtest@v1 - - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v2 - with: - files: lcov.info - - uses: julia-actions/julia-uploadcoveralls@v1 - env: - COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }} - name: add CESMIX registry run: | julia -e ' @@ -48,7 +41,22 @@ jobs: Pkg.Registry.add(RegistrySpec(url = "https://github.com/cesmix-mit/CESMIX.git")) Pkg.Registry.add(RegistrySpec(url = "https://github.com/JuliaMolSim/MolSim.git")) Pkg.Registry.add(RegistrySpec(url = "https://github.com/ACEsuit/ACEregistry")) - - Pkg.develop(; url = "https://github.com/joannajzou/ActiveSubspaces.jl") ' - shell: bash \ No newline at end of file + shell: bash + - name: add dependencies + run: | + julia --project=. -e ' + using Pkg + Pkg.add(; name="PotentialLearning", rev="main") + Pkg.add(; url = "https://github.com/joannajzou/ActiveSubspaces.jl") + ' + shell: bash + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 + - uses: julia-actions/julia-processcoverage@v1 + - uses: codecov/codecov-action@v2 + with: + files: lcov.info + - uses: julia-actions/julia-uploadcoveralls@v1 + env: + COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }} \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 60a800e..0000000 --- a/.travis.yml +++ /dev/null @@ -1,31 +0,0 @@ -# Documentation: http://docs.travis-ci.com/user/languages/julia -language: julia -notifications: - email: false -julia: - - 1.8 - - nightly -os: - - linux -arch: - - x64 -cache: - directories: - - ~/.julia/artifacts -jobs: - fast_finish: true - allow_failures: - - julia: nightly -after_success: - - | - julia -e ' - using Pkg - Pkg.add("Coverage") - using Coverage - Codecov.submit(process_folder())' - - | - julia -e ' - using Pkg - Pkg.add("Coverage") - using Coverage - Coveralls.submit(process_folder())'