Skip to content

Commit

Permalink
Try fixing docker-test.yml in github
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph McKinsey committed Sep 16, 2022
1 parent 310e137 commit 036d15c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/docker-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ['3.10']
steps:
- uses: actions/checkout@v2
with:
submodules: true
token: ${{ secrets.CI_TOKEN }}
- name: build docker container
shell: bash
run: |
Expand All @@ -24,10 +28,25 @@ jobs:
mkdir outputs_build
docker volume create --name gadal_output --opt type=none --opt device=$(pwd)/outputs_build --opt o=bind
docker run --rm --mount source=gadal_output,target=/simulation/outputs gadal-example:0.0.0
- name: Set up Python ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
- name: Run plots
shell: bash -l {0}
run: |
pip install matplotlib pyarrow numpy matplotlib pandas
eval `ssh-agent -s`
ssh-add - <<< '${{ secrets.SGIDAL_CLONE_KEY }}'
pip install git+ssh://[email protected]/openEDI/[email protected]
python post_analysis.py outputs_build
- name: Archive logs
uses: actions/upload-artifact@v2
if: always()
with:
name: docker_logs
path: |
outputs_build/*.log
*.png

0 comments on commit 036d15c

Please sign in to comment.