check place #234
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: Python Package using Conda | |
on: [push] | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 5 | |
defaults: | |
run: | |
shell: bash -el {0} # use default shell | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Get current month | |
id: date | |
run: echo "date=$(date +%Y-%m)" >> "${GITHUB_OUTPUT}" | |
- name: Where are we | |
run: | | |
pwd | |
ls | |
- uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-file: atlasenv.yml | |
#environment-name: atlasenv | |
# persist on the same month. | |
cache-environment-key: environment-${{ steps.date.outputs.date }} | |
cache-downloads-key: downloads-${{ steps.date.outputs.date }} | |
- name: check mamba | |
run: mamba --help | |
- name: Install atlas | |
run: | | |
python -m pip install . --no-deps -vv | |
- name: Test atlas | |
run: | | |
atlas --help | |
atlas --version | |
- name: Import atlas | |
run: | | |
python -c "from atlas import utils" | |
- name: Dryrun | |
run: | | |
test/dryrun.sh | |