Turn on --nocontainer test on MACs #390
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: ci | |
on: [push, pull_request] | |
jobs: | |
linux: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install bats | |
shell: bash | |
run: | | |
sudo apt-get update | |
sudo apt-get install bats bash codespell python3-argcomplete | |
make install-requirements | |
- name: run test | |
run: | | |
make validate | |
make bats | |
macos: | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install golang | |
shell: bash | |
run: | | |
brew install go bats | |
make install-requirements | |
- name: Run a one-line script | |
shell: bash | |
run: | | |
make install-requirements | |
make validate | |
python -c "import sys; print(sys.path)" | |
python -c "import argcomplete" | |
make bats-nocontainer | |
# FIXME: ci script should be able to run on MAC. | |
# - name: Run ci | |
# shell: bash | |
# run: make ci |