Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
searscr committed May 20, 2024
1 parent eba237f commit 2d25b3a
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,29 @@ jobs:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true

- name: Setup libmamba solver
run: |
conda install -n base conda-libmamba-solver
conda config --set solver libmamba
conda install boa -c conda-forge
- name: Setup libmamba solver
run: |
conda install -n base conda-libmamba-solver
conda config --set solver libmamba
conda install boa -c conda-forge
- name: Install requirements
run: |
# --quiet should turn off progress bars to make logs more readable
conda env create --file environment.yml --quiet
- name: pylint
run: pre-commit run -a pylint
- name: Install shiver
run: python -m pip install -e .
- name: Run tests
run: xvfb-run --server-args="-screen 0 1920x1080x24" -a python -m pytest --cov=src --cov-report=xml --cov-report=term
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
- name: Install requirements
run: |
# --quiet should turn off progress bars to make logs more readable
conda env create --file environment.yml --quiet
- name: pylint
run: pre-commit run -a pylint
- name: Install shiver
run: python -m pip install -e .
- name: Run tests
run: xvfb-run --server-args="-screen 0 1920x1080x24" -a python -m pytest --cov=src --cov-report=xml --cov-report=term
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3

conda-build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 2d25b3a

Please sign in to comment.