diff --git a/.github/workflows/pypicheck.yml b/.github/workflows/pypicheck.yml new file mode 100644 index 0000000..f556ace --- /dev/null +++ b/.github/workflows/pypicheck.yml @@ -0,0 +1,30 @@ +name: Pip check + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ${{ matrix.operating-system }} + strategy: + matrix: + operating-system: [ubuntu-latest] + python-version: [3.9] + + steps: + - uses: actions/checkout@v2 + - uses: conda-incubator/setup-miniconda@v2 + with: + auto-update-conda: true + python-version: ${{ matrix.python-version }} + channel-priority: strict + environment-file: .ci_support/environment.yml + - name: Setup + shell: bash -l {0} + run: | + pip install --no-deps . + pip check