forked from os-autoinst/os-autoinst-distri-opensuse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request os-autoinst#11545 from rwx788/githubactions
Switch CI checks to github actions from travis
- Loading branch information
Showing
6 changed files
with
107 additions
and
110 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Deploy | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
documentation: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Generate documentation | ||
run: script/generateLibDocs.sh | ||
- name: Deploy documentation | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./docs |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: PR CI | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
static: | ||
runs-on: ubuntu-latest | ||
name: "Running ${{ matrix.test }} tests with perl v${{ matrix.perl-version }}" | ||
strategy: | ||
matrix: | ||
include: | ||
- test: static | ||
perl-version: 5.32 | ||
- test: unit | ||
perl-version: 5.32 | ||
- test: compile | ||
perl-version: 5.26 | ||
container: | ||
image: perldocker/perl-tester:${{ matrix.perl-version }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
run: apt-get -y install yamllint libdbus-1-dev libssh2-1-dev parallel | ||
- name: Setup perl | ||
run: | | ||
echo "requires 'Code::DRY';" >> cpanfile | ||
echo "requires 'Date::Parse';" >> cpanfile | ||
echo "requires 'Regexp::Common';" >> cpanfile | ||
echo "requires 'Perl::Tidy', '== 20201001';" >> cpanfile | ||
make prepare | ||
- name: Run ${{ matrix.test }} tests | ||
env: | ||
TESTS: ${{ matrix.test }} | ||
run: | | ||
git fetch origin master | ||
git checkout cpanfile | ||
make test |
This file was deleted.
Oops, something went wrong.
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
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
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