Skip to content

Commit

Permalink
CI with SSL working with tests
Browse files Browse the repository at this point in the history
  • Loading branch information
facusapienza21 authored Aug 31, 2023
1 parent 14e4515 commit 09497b1
Showing 1 changed file with 6 additions and 25 deletions.
31 changes: 6 additions & 25 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
which python
conda env export
shell: bash -el {0}
- name: Update certifi
run: |
- name: Update certifi πŸ”’πŸ”‘
run: |
pip install --upgrade certifi
shell: bash -el {0}
# - name: Test OGGM installation πŸ”§πŸŒŽ
Expand All @@ -63,13 +63,17 @@ jobs:
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- name: Check Julia SSL certifications πŸ”ŽπŸ”
run: julia -e 'using NetworkOptions; println(NetworkOptions.bundled_ca_roots()); println(NetworkOptions.ca_roots())'
shell: bash -el {0}
- uses: julia-actions/cache@v1
with:
cache-registries: "true"
cache-compiled: "true"
- uses: julia-actions/julia-buildpkg@v1
env:
PYTHON : /home/runner/micromamba/envs/oggm_env/bin/python
# The SSL certificate path can be readed from the action "Check Julia SSL certifications"
SSL_CERT_FILE: /etc/ssl/certs/ca-certificates.crt
- uses: julia-actions/julia-runtest@v1
env:
Expand All @@ -80,26 +84,3 @@ jobs:
with:
token: ${{secrets.CODECOV_TOKEN}}
files: lcov.info
# docs:
# name: Documentation
# runs-on: ubuntu-latest
# permissions:
# contents: write
# statuses: write
# steps:
# - uses: actions/checkout@v2
# - uses: julia-actions/setup-julia@v1
# with:
# version: '1.9'
# - uses: julia-actions/julia-buildpkg@v1
# env:
# PYTHON : /home/runner/micromamba/envs/oggm_env/bin/python
# - uses: julia-actions/julia-docdeploy@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - run: |
# julia --project=docs -e '
# using Documenter: DocMeta, doctest
# using ODINN
# DocMeta.setdocmeta!(ODINN, :DocTestSetup, :(using ODINN); recursive=true)
# doctest(ODINN)'

0 comments on commit 09497b1

Please sign in to comment.