-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
52c8dcb
commit 0c7595f
Showing
1 changed file
with
1 addition
and
31 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 |
---|---|---|
|
@@ -5,40 +5,10 @@ on: [ push ] | |
jobs: | ||
test: | ||
runs-on: ubuntu-22.04 | ||
container: dodona-tested | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.11.2 | ||
cache: 'pipenv' | ||
- run: pip install pipenv | ||
- run: pipenv install --dev | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
- uses: haskell/actions/setup@v2 | ||
with: | ||
ghc-version: '9.2' | ||
cabal-version: '3.6' | ||
- uses: actions/cache@v3 | ||
name: Cache cabal | ||
with: | ||
path: | | ||
~/.cabal | ||
~/.ghc | ||
dist-newstyle | ||
key: ${{ runner.os }}-ghc-9.2.1-20220111 | ||
restore-keys: | | ||
${{ runner.os }}-ghc-9.2.1- | ||
- run: cabal v1-install aeson | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- run: npm install [email protected] | ||
- run: npm install -g [email protected] | ||
- run: sudo apt -y install hlint cppcheck shellcheck checkstyle | ||
- run: curl -sSLO https://github.com/pinterest/ktlint/releases/download/0.48.2/ktlint && chmod a+x ktlint | ||
- run: echo "${GITHUB_WORKSPACE}" >> $GITHUB_PATH | ||
- run: pipenv run pytest -n auto --cov=tested --cov-report=xml tests/ | ||
- name: Upload coverage to Codecov | ||
|