Skip to content

Commit

Permalink
Merge pull request #96 from svalinn/first_ci_test
Browse files Browse the repository at this point in the history
add normal test for CI
  • Loading branch information
connoramoreno authored Apr 26, 2024
2 parents c0c1d1a + 70d8200 commit da0c291
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Regular CI testing for parastell

on:
# allows us to run workflows manually
workflow_dispatch:
pull_request:
paths-ignore:
- 'Dockerfile'
- '.github/workflows/docker_publish.yml'
- 'environment.yml'

jobs:
test-dependency-img:
runs-on: ubuntu-latest
container: ghcr.io/svalinn/parastell-ci

name: Perform CI Tests
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Populate environment and run tests
run: |
. /opt/etc/bashrc
sed -e "s/@SERVER@/${rlmSERVER}/" -e "s/@PASSWORD@/${rlmPASSWD}/" /opt/Coreform-Cubit-2023.11/bin/licenses/rlmcloud.in > /opt/Coreform-Cubit-2023.11/bin/licenses/rlmcloud.lic
export PYTHONPATH=${PYTHONPATH}:`pwd`
cd tests
pytest -v .
env:
rlmSERVER: ${{ secrets.RLMSERVER }}
rlmPASSWD: ${{ secrets.RLMPASSWORD }}

0 comments on commit da0c291

Please sign in to comment.