Skip to content

Commit

Permalink
CI: Add basic testing to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoZeke committed Aug 8, 2023
1 parent d383cf1 commit d97531e
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Basic consistency tests
on:
push:
branches:
- main
pull_request:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
buildmamba:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- {os: windows-latest}
- {os: macOS-latest}
- {os: ubuntu-latest}
steps:
- uses: actions/checkout@v3
with:
submodules: "recursive"
fetch-depth: 0
- name: Install Conda environment
uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
cache-environment: true
- name: Build and Test
shell: bash -l {0}
run: |
fpm build
pytest -vvv

0 comments on commit d97531e

Please sign in to comment.