Merge pull request #222 from NCAS-CMS/condalock-update #727
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 on Push on Linux64 | |
on: | |
push: | |
# Required shell entrypoint to have properly configured bash shell | |
defaults: | |
run: | |
shell: bash -l {0} | |
jobs: | |
linux: | |
runs-on: "ubuntu-latest" | |
strategy: | |
matrix: | |
python-version: ["3.12"] # latest only | |
fail-fast: false | |
name: Linux Python ${{ matrix.python-version }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
activate-environment: activestorage | |
environment-file: environment.yml | |
python-version: ${{ matrix.python-version }} | |
miniforge-version: "latest" | |
miniforge-variant: Mambaforge | |
use-mamba: true | |
- run: conda --version | |
- run: python -V | |
- run: pip install -e . | |
- run: pytest -n 2 --junitxml=report-1.xml | |
- uses: codecov/codecov-action@v3 |