Added dockerization of the project and the ability to publish it in IPM #24
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: ['master'] | |
paths: ['cls/**/*.cls'] | |
push: | |
branches: ['master'] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone this repository | |
uses: actions/checkout@v2 | |
with: | |
path: app | |
- name: Build and run test suite | |
run: | | |
docker pull rfns/iris-ci:0.5.3 | |
docker run -t --rm --name ci \ | |
-e TESTPARAM_FIXTURE_ENV=/opt/ci/app/fixtures \ | |
-e TEST_SUITE="tests" \ | |
-v $PWD/app:/opt/ci/app rfns/iris-ci:0.6.1 | |