ci: remove WSL1 test env (#1003)

This commit is contained in:
James Hegedus 2021-07-20 14:33:08 +10:00 committed by GitHub
parent 39c9999519
commit ccf76dd7e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,53 +10,6 @@ env:
BATS_VERSION: v1.3.0 BATS_VERSION: v1.3.0
jobs: jobs:
wsl1:
if: github.ref != 'refs/heads/master'
strategy:
fail-fast: false
matrix:
os:
- windows-2019
distribution:
- Ubuntu-20.04
- Ubuntu-18.04
# - Alpine
# - Debian
# - kali-linux
# - openSUSE-Leap-15.2
runs-on: ${{ matrix.os }}
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup WSL & install test dependencies
uses: Vampire/setup-wsl@v1
with:
distribution: ${{ matrix.distribution }}
additional-packages: curl git fish
- name: Install bats
shell: wsl-bash {0}
run: |
git clone --depth 1 --branch "${{ env.BATS_VERSION }}" https://github.com/bats-core/bats-core.git $HOME/bats-core
cd $HOME/bats-core
./install.sh $HOME
$HOME/bin/bats --version
- name: Run tests
shell: wsl-bash {0}
run: |
$HOME/bin/bats test
env:
GITHUB_API_TOKEN: ${{ github.token }}
nix: nix:
strategy: strategy:
fail-fast: false fail-fast: false