Remove use of Azure #1
Workflow file for this run
This file contains hidden or 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: Package and test on Ubuntu | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - dev-* | |
| pull_request: | |
| branches: | |
| - dev-* | |
| - release* | |
| - master | |
| - main | |
| jobs: | |
| build_test_ubuntu: | |
| runs-on: ubuntu-latest | |
| if: "!contains(github.event.head_commit.message, '***SKIPBUILD***')" | |
| strategy: | |
| max-parallel: 1 | |
| matrix: | |
| python-version: [ '3.7', '3.8', '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 "idm_bamboo_user@idmod.org" | |
| git config --global user.name "BambooUser-IDM" | |
| - uses: actions/setup-python@master | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| architecture: x64 | |
| - name: install snappy | |
| run: sudo apt-get install libsnappy-dev | |
| shell: bash | |
| - name: Build and install package | |
| uses: ./.github/actions/build-install-package | |
| with: | |
| package_file: 'package_setup.py' | |
| - name: run unit tests | |
| run: | | |
| pip install lz4 | |
| python -m unittest discover . | |
| working-directory: ./tests |