Skip to content
Snippets Groups Projects
Commit ca813f50 authored by James R. Wilcox's avatar James R. Wilcox
Browse files

gitlab CI

parent f080df20
No related branches found
No related tags found
No related merge requests found
Pipeline #472865 failed with stage
in 49 seconds
default:
image: python:3.10-alpine
build-job:
stage: build
script:
- echo test index $CSE490X_INDEX
- date
- apk add git
- date
- git clone https://gitlab.cs.washington.edu/cse490x-22sp/cse490x-22sp-tests.git
- date
- |
# Run the tests
exit_code=0
if [ -e TEST_ARGS.txt ] ; then
echo found TEST_ARGS.txt! will call run-tests.py with the following args':'
cat TEST_ARGS.txt
python3 cse490x-22sp-tests/src/run-tests.py --index $CSE490X_INDEX `cat TEST_ARGS.txt` || exit_code=$?
else
echo no TEST_ARGS.txt found. using weekly defaults...
python3 cse490x-22sp-tests/src/run-tests.py --index $CSE490X_INDEX || exit_code=$?
fi
- date
- echo tests exited with code $exit_code
- exit $exit_code
parallel:
matrix:
- CSE490X_INDEX: [1, 2, 3, 4, 5]
name: Web Browser Testing
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tk dukpy
- name: Clone tests
uses: actions/checkout@v2
with:
repository: utah-cs4962-fa21/tests
path: tests
- name: Run tests
run: |
./tests/src/run-tests.py
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment