DM-42191: Update usage of Butler APIs #42
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: test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: null | |
jobs: | |
test: | |
name: test | |
strategy: | |
matrix: | |
pyver: ["3.10"] | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
python-version: ${{ matrix.pyver }} | |
channels: conda-forge | |
channel-priority: strict | |
show-channel-urls: true | |
- name: Install DM stack and mypy with conda/mamba | |
shell: bash -l {0} | |
run: | | |
conda config --set always_yes yes | |
conda install -q mamba | |
mamba install -q stackvana=0 | |
mamba install -q mypy | |
- name: Build and run tests | |
shell: bash -l {0} | |
run: | | |
setup -v -r . | |
scons | |
- name: Run MyPy | |
shell: bash -l {0} | |
run: | | |
setup -v -r . | |
mypy python/ tests/ |