diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 42052dc..6523a49 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -10,27 +10,21 @@ on: branches: [ "main" ] jobs: - build: - - runs-on: [ubuntu-latest] - strategy: - fail-fast: false + default-shell: + name: Default shell + runs-on: "ubuntu-latest" + defaults: + run: + shell: bash -el {0} steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Set up conda - uses: conda-incubator/setup-miniconda@v3 - with: - auto-update-conda: true - miniconda-version: "latest" - generate-run-shell: true - environment-file: environment-dev.yml - auto-activate-base: false - - name: Conda info - shell: bash -el {0} - run: conda info - - name: Run tests + - uses: actions/checkout@v4 + - uses: conda-incubator/setup-miniconda@v3 + with: + activate-environment: anaconda-client-env + environment-file: environment-dev.yml + - run: conda info + - run: conda list + - run: conda config --show run: | python -c "import petsc4py; petsc4py.init(); from petsc4py import PETSc;" python -m pytest