Push image to Docker Hub staging repository on a successful build #172
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: Run Unit Tests | |
| on: [workflow_dispatch, pull_request] | |
| jobs: | |
| Unit-Tests: | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - macos-latest | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Install bz2 development package | |
| if: runner.os == 'Linux' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libbz2-dev | |
| - name: Check out repository code | |
| uses: actions/checkout@v2 | |
| - name: Clone pyenv | |
| run: git clone https://github.com/pyenv/pyenv.git ~/.pyenv | |
| - name: Run the CI build script | |
| run: bash .ci/build.sh build_and_unit_test |