Skip to content

Commit

Permalink
Init github
Browse files Browse the repository at this point in the history
  • Loading branch information
charnley committed Dec 20, 2023
1 parent 27d246a commit b6d5c3a
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
Empty file added .github/workflows/publish.yml
Empty file.
38 changes: 38 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@

name: Test Python package

on:
push:
branches:
- '**'
pull_request:
branches: [ main ]

jobs:
test:
name: Testing
runs-on: "ubuntu-latest"
defaults:
run:
shell: bash -l {0}
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: qmllib-dev
environment-file: environment_dev.yml
python-version: ${{ matrix.python-version }}
- run: |
pip install .
- run: |
ls
pwd
which python
conda info
- run: |
make test
- run: |
make format

0 comments on commit b6d5c3a

Please sign in to comment.