Skip to content

Commit

Permalink
simplify cron CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Oct 28, 2022
1 parent 98b5be4 commit 1e40400
Showing 1 changed file with 5 additions and 28 deletions.
33 changes: 5 additions & 28 deletions .github/workflows/ci_cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
CRDS_SERVER_URL: https://jwst-crds.stsci.edu
CRDS_PATH: ~/crds_cache
CRDS_PATH: $HOME/crds_cache
CRDS_CLIENT_RETRY_COUNT: 3
CRDS_CLIENT_RETRY_DELAY_SECONDS: 20

Expand All @@ -25,32 +25,9 @@ jobs:
python-version: 3.9
toxenv: devdeps
steps:
- name: Install system packages
if: ${{ contains(matrix.toxenv,'docs') }}
run: |
sudo apt-get install graphviz texlive-latex-extra dvipng
- name: Checkout the code
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install tox
run: |
pip install tox
- name: Run tests
run: tox -e ${{ matrix.toxenv }}

- name: Upload coverage to codecov
if: ${{ contains(matrix.toxenv,'-cov') }}
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
flags: unit
fail_ci_if_error: true
- run: pip install tox
- run: tox -e ${{ matrix.toxenv }}

0 comments on commit 1e40400

Please sign in to comment.