Support for v2.23 emod release #20
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: build test | |
on: | |
push: | |
branches: | |
- dev-* | |
- main | |
pull_request: | |
branches: | |
- dev-* | |
- release* | |
- master | |
- main | |
jobs: | |
build_test: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '***SKIPBUILD***')" | |
strategy: | |
max-parallel: 1 | |
matrix: | |
python-version: [ '3.9' ] | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Config github user | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "BambooUser-IDM" | |
- uses: actions/setup-python@master | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Build and install package | |
uses: ./.github/actions/build-install-package | |
with: | |
package_file: 'setup.py' | |
- name: run tests | |
env: | |
ignore_comps: True | |
run: python -m unittest discover . | |
working-directory: ./tests |