Skip to content

Commit

Permalink
simplify CI and add status badges
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippImhof committed Apr 26, 2024
1 parent 12ad671 commit 1f626c0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 85 deletions.
82 changes: 0 additions & 82 deletions .github/workflows/phpunit.yml

This file was deleted.

8 changes: 6 additions & 2 deletions .github/workflows/behat.yml → .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Automated acceptance tests
name: Automated testing

on: [push, pull_request]

jobs:
test:
name: Automated acceptance tests
name: Automated testing
runs-on: ubuntu-22.04

services:
Expand Down Expand Up @@ -75,5 +75,9 @@ jobs:
MOODLE_BRANCH: ${{ matrix.moodle-branch }}
MOODLE_APP: false

- name: PHPUnit tests
run: moodle-plugin-ci phpunit --fail-on-warning

- name: Behat features
if: ${{ always() }}
run: moodle-plugin-ci behat --auto-rerun 1 --profile chrome
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
![GitHub Release](https://img.shields.io/github/v/release/PhilippImhof/moodle-quiz_essaydownload)
[![Automated code checks](https://github.com/PhilippImhof/moodle-quiz_essaydownload/actions/workflows/checks.yml/badge.svg)](https://github.com/PhilippImhof/moodle-quiz_essaydownload/actions/workflows/checks.yml) [![Automated testing](https://github.com/PhilippImhof/moodle-quiz_essaydownload/actions/workflows/testing.yml/badge.svg)](https://github.com/PhilippImhof/moodle-quiz_essaydownload/actions/workflows/testing.yml)

moodle-quiz_essaydownload
-------------------------

Expand All @@ -24,7 +27,7 @@ For more information, please see the [Moodle docs](https://docs.moodle.org/en/In
The plugin will then generate a ZIP archive containing the requested data and initiate
the download in your browser.

Note: No confirmation will be shown. Once you get your ZIP file, the work is done. The
Note: No confirmation will be shown. Once you get your ZIP file, the work is done.


#### Grouping by attempt or question?
Expand Down

0 comments on commit 1f626c0

Please sign in to comment.