forked from svalinn/parastell
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (27 loc) · 915 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 }}