ability to update apt's cache was added #36
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: | |
pull_request: | |
branches: | |
- "*" | |
push: | |
branches: | |
- "main" | |
- "master" | |
jobs: | |
test: | |
runs-on: "ubuntu-22.04" | |
strategy: | |
matrix: | |
distro: ["ubuntu2204", "debian12"] | |
steps: | |
- uses: "actions/checkout@v2" | |
- name: "Download test script" | |
run: | | |
wget -O tests/test.sh https://gist.githubusercontent.com/nickjj/d12353b5b601e33cd62fda111359957a/raw/0cae9eb77992981c81ed1f2235c529eeb7f4059b/ansible-role-test.sh | |
chmod +x tests/test.sh | |
- name: "Run test suite" | |
run: | | |
./tests/test.sh | |
env: | |
distro: ${{ matrix.distro }} |