Merge pull request #3758 from ddceruti/patch-1 #456
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: Push to Master | |
on: | |
push: | |
branches: [master] | |
jobs: | |
test: | |
name: ${{ matrix.os }}-test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Conda environment with Micromamba | |
uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-file: conda-lock.yml | |
environment-name: cea | |
cache-environment: true | |
- name: Install CEA | |
shell: bash -l {0} | |
run: pip install . | |
- name: Run tests | |
shell: bash -l {0} | |
run: | | |
cea test --type unittest | |
cea test --type integration |