forked from torrust/torrust-index
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (35 loc) · 1005 Bytes
/
e2e.yaml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
# Temporary execution of E2E tests using MySQL becuase it's failing
# in the `testing.yml` workflows and affects deployments and releases.
# See https://github.com/torrust/torrust-index/issues/580
name: E2E Testing
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
e2e:
name: E2E
runs-on: ubuntu-latest
strategy:
matrix:
toolchain: [stable, nightly]
steps:
- id: checkout
name: Checkout Repository
uses: actions/checkout@v4
- id: setup
name: Setup Toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.toolchain }}
- id: cache
name: Enable Job Cache
uses: Swatinem/rust-cache@v2
# Temporary Cleaning to avoid Rust Compiler Bug
- id: clean
name: Make Build Clean
run: cargo clean
- id: test-mysql
name: Run Integration Tests (MySQL)
run: ./contrib/dev-tools/container/e2e/mysql/run-e2e-tests.sh