File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 runs-on : ${{ matrix.os }}
1515 steps :
1616 - uses : actions/checkout@v2
17- # Normally, we would use the superbly maintained...
18- # - uses: actions/setup-python@v2
19- # with:
20- # python-version: ${{ matrix.python-version }}
21- # ... but in the repo, we want to test pyenv builds on Ubuntu
22- # - run: |
23- # sudo apt-get install -y build-essential libssl-dev zlib1g-dev libbz2-dev \
24- # libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
25- # xz-utils tk-dev libffi-dev liblzma-dev python-openssl git
26- # https://github.com/pyenv/pyenv#installation
27- # - env:
28- # PYENV_ROOT: /home/runner/work/pyenv/pyenv
29- # run: |
30- # echo $PYENV_ROOT
31- # echo "$PYENV_ROOT/shims:$PYENV_ROOT/bin" >> $GITHUB_PATH
32- # macos-11 Github Actions env has an old `readlink` and lacks `greadlink` which causes Bats to break
33- - run : |
34- if [[ $RUNNER_OS == "macOS" ]] && [[ $(sw_vers -productVersion | awk -F. '{print $1}') -lt 12 ]]; then
35- brew install coreutils
36- fi
3717 - run : git clone https://github.com/bats-core/bats-core.git --depth=1 -b v1.2.0 bats
3818 - run : bats/bin/bats --tap test
You can’t perform that action at this time.
0 commit comments