Bump eslint-plugin-import from 2.27.5 to 2.28.0 #263
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test post cleanup | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
merge_group: | |
jobs: | |
test-post-cleanup: | |
name: ${{ matrix.post-cleanup }} | |
strategy: | |
matrix: | |
include: | |
- post-cleanup: 'none' | |
mamba-init-block-exists: '' | |
env-exists: '' | |
root-exists: '' | |
binary-exists: '' | |
- post-cleanup: 'shell-init' | |
mamba-init-block-exists: '! ' | |
env-exists: '' | |
root-exists: '' | |
binary-exists: '' | |
- post-cleanup: 'environment' | |
mamba-init-block-exists: '! ' | |
env-exists: '! ' | |
root-exists: '' | |
binary-exists: '' | |
- post-cleanup: 'all' | |
mamba-init-block-exists: '! ' | |
env-exists: '! ' | |
root-exists: '! ' | |
binary-exists: '! ' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# This is a fork of webiny/action-post-run. If webiny/action-post-run is updated, this should be updated as well. | |
- uses: lisanna-dettwyler/action-post-run@d053b9b43d788b87a409f6cdb3b6fc87c6c8a4fe | |
with: | |
run: | | |
set -euxo pipefail | |
${{ matrix.mamba-init-block-exists }}grep -F "mamba initialize" ~/.bash_profile | |
${{ matrix.mamba-init-block-exists }}grep -F "mamba initialize" ~/.bashrc | |
${{ matrix.env-exists }}test -d ~/micromamba/envs/env-name | |
${{ matrix.root-exists }}test -d ~/micromamba | |
${{ matrix.binary-exists }}test -f ~/micromamba-bin/micromamba | |
${{ matrix.binary-exists }}test -f ~/micromamba-bin/.condarc | |
- uses: ./ | |
with: | |
environment-file: 'test/environment.yml' | |
init-shell: bash | |
post-cleanup: ${{ matrix.post-cleanup }} | |
- run: | | |
set -euxo pipefail | |
grep -F "mamba initialize" ~/.bash_profile | |
grep -F "mamba initialize" ~/.bashrc | |
test -d ~/micromamba/envs/env-name | |
test -d ~/micromamba | |
test -f ~/micromamba-bin/micromamba | |
test -f ~/micromamba-bin/.condarc |